diff --git a/configuration.nix b/configuration.nix index 5e4704b..4bdff80 100644 --- a/configuration.nix +++ b/configuration.nix @@ -17,6 +17,9 @@ "/etc/machine-id" "/etc/shadow" "/etc/shadow-" + "/etc/passwd" + "/etc/passwd-" + "/etc/ly/save.txt" ]; users."mtgmonkey" = { directories = [ diff --git a/hardware-configuration.nix b/hardware-configuration.nix index 7d2b1aa..dad7ef5 100644 --- a/hardware-configuration.nix +++ b/hardware-configuration.nix @@ -19,18 +19,7 @@ fileSystems."/" = { device = "none"; fsType = "tmpfs"; - options = ["defaults" "size=50%" "mode=755"]; - }; - - fileSystems."/boot" = { - device = "/dev/disk/by-uuid/107D-CA99"; - fsType = "vfat"; - options = ["fmask=0077" "dmask=0077"]; - }; - - fileSystems."/nix" = { - device = "/dev/disk/by-uuid/1a8ff2e3-8bed-4acb-9f03-45583f1d651d"; - fsType = "btrfs"; + options = ["defaults" "size=25%" "mode=755"]; }; fileSystems."/persist" = { @@ -39,6 +28,17 @@ fsType = "btrfs"; }; + fileSystems."/nix" = { + device = "/dev/disk/by-label/NIXSTORE"; + fsType = "btrfs"; + }; + + fileSystems."/boot" = { + device = "/dev/disk/by-uuid/107D-CA99"; + fsType = "vfat"; + options = ["fmask=0077" "dmask=0077"]; + }; + swapDevices = [ {device = "/dev/disk/by-uuid/18c2ef9b-1568-41e4-b67a-96155822ae02";} ];