aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorLeander Scherer <leander@schererleander.de>2026-06-11 16:15:34 +0200
committerLeander Scherer <leander@schererleander.de>2026-06-11 16:15:34 +0200
commit4b5149904d5a43cbfe6a587c61cc97fe1d7a8b87 (patch)
treead87483e36fceab532631b79a5787184a83210e1 /modules
parent40f16d0f4605923e93830d8e8ae10167f7a5e430 (diff)
chore(adam): fix hardware drive configurations
Diffstat (limited to 'modules')
-rw-r--r--modules/hosts/adam/configuration.nix2
-rw-r--r--modules/hosts/adam/hardware-configuration.nix3
2 files changed, 3 insertions, 2 deletions
diff --git a/modules/hosts/adam/configuration.nix b/modules/hosts/adam/configuration.nix
index e82f885..8e134f2 100644
--- a/modules/hosts/adam/configuration.nix
+++ b/modules/hosts/adam/configuration.nix
@@ -9,8 +9,6 @@
kernelPackages = pkgs.linuxPackages_latest;
kernelParams = [ "amd_pstate=active" ];
kernelModules = [ "amdgpu" ];
- initrd.luks.devices."luks-803851e9-7fa8-4367-a927-0bb76d0fe830".device =
- "/dev/disk/by-uuid/803851e9-7fa8-4367-a927-0bb76d0fe830";
loader = {
timeout = 0;
systemd-boot.enable = true;
diff --git a/modules/hosts/adam/hardware-configuration.nix b/modules/hosts/adam/hardware-configuration.nix
index 4793291..04b7346 100644
--- a/modules/hosts/adam/hardware-configuration.nix
+++ b/modules/hosts/adam/hardware-configuration.nix
@@ -36,6 +36,9 @@
];
};
+ boot.initrd.luks.devices."luks-c8c2ebcd-5e0d-4523-8cf6-b7fdf67c14a4".device =
+ "/dev/disk/by-uuid/c8c2ebcd-5e0d-4523-8cf6-b7fdf67c14a4";
+
swapDevices = [
{ device = "/dev/mapper/luks-c8c2ebcd-5e0d-4523-8cf6-b7fdf67c14a4"; }
];