luks keyfile

This commit is contained in:
2024-09-17 23:39:46 -06:00
parent 0f45aad464
commit 7c1f870835
3 changed files with 15 additions and 22 deletions

View File

@@ -1,4 +1,4 @@
{ config, pkgs, modulesPath, lib, ... }: {
{ config, modulesPath, lib, ... }: {
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
hardware = {
cpu.amd.updateMicrocode =
@@ -45,6 +45,7 @@
};
initrd.luks.devices.nvme = {
device = "/dev/disk/by-uuid/e9618e85-a631-4374-b2a4-22c376d6e41b";
keyFile = "/boot/keyfile";
preLVM = true;
};
initrd.availableKernelModules =