From e160c24728bad4076f148b0a31de92f88df365d8 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Thu, 3 Mar 2022 23:09:03 +0530 Subject: config sync --- hardware-configuration.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'hardware-configuration.nix') 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; -- cgit v1.3.1