diff --git a/hosts/nullbox/configuration.nix b/hosts/nullbox/configuration.nix index f5d48a6..8dab31c 100644 --- a/hosts/nullbox/configuration.nix +++ b/hosts/nullbox/configuration.nix @@ -25,7 +25,7 @@ }; } - (lib.genAttrs [ "/.btrfsroot" "/" "/home" ] ( fs: { + (lib.genAttrs [ "/.btrfsroot" "/" "/home" "/nix" ] ( fs: { options = [ "compress=zstd" ]; })) ]; diff --git a/hosts/nullbox/hardware-configuration.nix b/hosts/nullbox/hardware-configuration.nix index 811ee63..d84ff0e 100644 --- a/hosts/nullbox/hardware-configuration.nix +++ b/hosts/nullbox/hardware-configuration.nix @@ -19,6 +19,12 @@ options = [ "subvol=nixos/@root" ]; }; + fileSystems."/nix" = + { device = "/dev/disk/by-uuid/e36d1ab4-d18b-434e-80b5-0efca0652eb5"; + fsType = "btrfs"; + options = [ "subvol=nixos/@nix" ]; + }; + fileSystems."/.btrfsroot" = { device = "/dev/disk/by-uuid/e36d1ab4-d18b-434e-80b5-0efca0652eb5"; fsType = "btrfs";