This commit is contained in:
2026-03-04 19:56:57 +01:00
parent 08acf60512
commit 7e26ca48b4
2 changed files with 6 additions and 5 deletions

View File

@@ -10,9 +10,5 @@
boot.initrd.systemd.enable = true;
boot.plymouth.enable = true;
boot.plymouth.theme = "bgrt";
boot.initrd.luks.devices."cryptroot" = {
device = lib.mkForce "/dev/nvme0n1p2";
#crypttabExtraOpts = [ "tpm2-device=auto" ];
};
};
}

View File

@@ -1,6 +1,7 @@
{ ... }: {
flake.nixosModules.disks-sys-singledisk = { inputs, ... }: {
imports = [ inputs.disko.nixosModules.disko ];
disko.devices = {
disk = {
main = {
@@ -44,5 +45,9 @@
device = "/var/lib/swapfile";
size = 16 * 1024;
}];
boot.initrd.luks.devices."cryptroot" = {
device = lib.mkForce "/dev/nvme0n1p2";
};
};
}