diff options
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; |
