diff options
| author | seth <[email protected]> | 2023-02-25 10:45:39 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2023-02-25 10:45:39 -0500 |
| commit | 3e15f3a9f3544770766ce6d695c5cc1aeb406e4e (patch) | |
| tree | 6f3d572eaa1ab074e98925bc83f3078efec8a6bb | |
| parent | 83effef025bca97e57e20a0453a9c5e76e38ea9b (diff) | |
add new hardware config for glados
| -rw-r--r-- | hosts/glados/hardware-configuration.nix | 32 |
1 files changed, 17 insertions, 15 deletions
diff --git a/hosts/glados/hardware-configuration.nix b/hosts/glados/hardware-configuration.nix index 20d2eda..b96530a 100644 --- a/hosts/glados/hardware-configuration.nix +++ b/hosts/glados/hardware-configuration.nix @@ -18,31 +18,33 @@ boot.extraModulePackages = []; fileSystems."/" = { - device = "rpool/nixos/root"; - fsType = "zfs"; - options = ["zfsutil" "X-mount.mkdir"]; + device = "/dev/mapper/cryptroot"; + fsType = "btrfs"; + options = ["subvol=root" "compress=zstd" "noatime"]; }; - fileSystems."/home" = { - device = "rpool/nixos/home"; - fsType = "zfs"; - options = ["zfsutil" "X-mount.mkdir"]; + boot.initrd.luks.devices."cryptroot".device = "/dev/disk/by-uuid/bbbc1f37-53f5-4776-a70e-f2779179de50"; + + fileSystems."/var/log" = { + device = "/dev/mapper/cryptroot"; + fsType = "btrfs"; + options = ["subvol=var_log" "compress=zstd" "noatime"]; }; fileSystems."/nix" = { - device = "rpool/nixos/nixstore"; - fsType = "zfs"; - options = ["zfsutil" "X-mount.mkdir"]; + device = "/dev/mapper/cryptroot"; + fsType = "btrfs"; + options = ["subvol=nix" "compress=zstd" "noatime" "nodatacow"]; }; - fileSystems."/var/log" = { - device = "rpool/nixos/var/log"; - fsType = "zfs"; - options = ["zfsutil" "X-mount.mkdir"]; + fileSystems."/home" = { + device = "/dev/mapper/cryptroot"; + fsType = "btrfs"; + options = ["subvol=home" "compress=zstd" "noatime"]; }; fileSystems."/boot" = { - device = "/dev/disk/by-uuid/5B1B-6423"; + device = "/dev/disk/by-uuid/B95B-9412"; fsType = "vfat"; }; |
