diff options
| author | Akshay Nair <phenax5@gmail.com> | 2022-03-03 23:09:03 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2022-03-03 23:09:03 +0530 |
| commit | e160c24728bad4076f148b0a31de92f88df365d8 (patch) | |
| tree | 3c8c2e9e75f189ba34f6e140319a74f511bf5c81 /hardware-configuration.nix | |
| parent | bba9d09328c19d948914628666925510ee6abf88 (diff) | |
| download | nixos-config-e160c24728bad4076f148b0a31de92f88df365d8.tar.gz nixos-config-e160c24728bad4076f148b0a31de92f88df365d8.zip | |
config sync
Diffstat (limited to 'hardware-configuration.nix')
| -rw-r--r-- | hardware-configuration.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hardware-configuration.nix b/hardware-configuration.nix index d00ff1d..960306f 100644 --- a/hardware-configuration.nix +++ b/hardware-configuration.nix @@ -47,9 +47,10 @@ }; # File system + boot.initrd.luks.devices."nixos".device = "/dev/disk/by-uuid/1b40e7b9-b261-4555-8e84-348668345687"; fileSystems = { "/" = { - device = "/dev/disk/by-label/nixos"; + device = "/dev/mapper/nixos"; fsType = "ext4"; }; "/boot" = { @@ -57,8 +58,7 @@ fsType = "vfat"; }; }; - swapDevices = [ { device = "/dev/disk/by-label/swap"; } ]; - + swapDevices = [{ device = "/dev/disk/by-label/swap"; }]; powerManagement = { enable = true; |
