diff --git a/hosts/lappy/hardware-configuration.nix b/hosts/lappy/hardware-configuration.nix index ea2f74b..e377b09 100644 --- a/hosts/lappy/hardware-configuration.nix +++ b/hosts/lappy/hardware-configuration.nix @@ -10,17 +10,23 @@ boot.kernelModules = [ "kvm-intel" ]; boot.extraModulePackages = [ ]; - fileSystems."/" = - { device = "/dev/disk/by-uuid/d626409d-8166-45c2-a168-09dfab31b8a4"; + fileSystems = { + "/" = { + device = "/dev/disk/by-uuid/d626409d-8166-45c2-a168-09dfab31b8a4"; fsType = "btrfs"; - options = [ "subvol=@nix-root" ]; + options = [ "compress=zstd" "subvol=@nix-root" ]; }; - - fileSystems."/home" = - { device = "/dev/disk/by-uuid/d626409d-8166-45c2-a168-09dfab31b8a4"; + "/home" = { + device = "/dev/disk/by-uuid/d626409d-8166-45c2-a168-09dfab31b8a4"; fsType = "btrfs"; - options = [ "subvol=@home" ]; + options = [ "compress=zstd" "subvol=@home" ]; }; + "/nix" = { + device = "/dev/disk/by-uuid/d626409d-8166-45c2-a168-09dfab31b8a4"; + fsType = "btrfs"; + options = [ "compress=zstd" "subvol=@nix-store" "noatime"]; + }; + }; boot.initrd.luks.devices."luksdev".device = "/dev/disk/by-uuid/100a5596-671b-48ba-a1d1-0723559baf87";