summaryrefslogtreecommitdiff
path: root/modules/hosts
diff options
context:
space:
mode:
authorSystem administrator <tjk@tjkeller.xyz>2024-11-04 02:42:56 +0000
committerSystem administrator <tjk@tjkeller.xyz>2024-11-04 02:42:56 +0000
commita60385f44b6349329edb740b1c2b5b7aa70e96f8 (patch)
treee790d25503806d27d3ff388598f303db98b73711 /modules/hosts
parentc1f39ae458cb14c2d3fbe751e02ffd8b02b4bb35 (diff)
downloadnixos-a60385f44b6349329edb740b1c2b5b7aa70e96f8.tar.xz
nixos-a60385f44b6349329edb740b1c2b5b7aa70e96f8.zip
update hardware configuration to support encryption
Diffstat (limited to 'modules/hosts')
-rw-r--r--modules/hosts/T495/hardware-configuration.nix16
1 files changed, 9 insertions, 7 deletions
diff --git a/modules/hosts/T495/hardware-configuration.nix b/modules/hosts/T495/hardware-configuration.nix
index 87bcb79..7f8aa88 100644
--- a/modules/hosts/T495/hardware-configuration.nix
+++ b/modules/hosts/T495/hardware-configuration.nix
@@ -14,23 +14,25 @@
boot.extraModulePackages = [ ];
fileSystems."/" =
- { device = "/dev/disk/by-uuid/ddf3cd9c-13a0-43d6-b278-dbb97cd9f9ee";
+ { device = "/dev/disk/by-uuid/a48ef087-2b46-462d-a9ea-1b8d5e18d570";
fsType = "btrfs";
options = [ "subvol=@" ];
};
- fileSystems."/boot" =
- { device = "/dev/disk/by-uuid/ddf3cd9c-13a0-43d6-b278-dbb97cd9f9ee";
- fsType = "btrfs";
- options = [ "subvol=@boot" ];
- };
+ boot.initrd.luks.devices."cryptroot".device = "/dev/disk/by-uuid/cb143604-275c-491f-af2a-0525837cc31c";
fileSystems."/home" =
- { device = "/dev/disk/by-uuid/ddf3cd9c-13a0-43d6-b278-dbb97cd9f9ee";
+ { device = "/dev/disk/by-uuid/a48ef087-2b46-462d-a9ea-1b8d5e18d570";
fsType = "btrfs";
options = [ "subvol=@home" ];
};
+ fileSystems."/boot" =
+ { device = "/dev/disk/by-uuid/a48ef087-2b46-462d-a9ea-1b8d5e18d570";
+ fsType = "btrfs";
+ options = [ "subvol=@boot" ];
+ };
+
fileSystems."/boot/efi" =
{ device = "/dev/disk/by-uuid/9441-53B1";
fsType = "vfat";