debug luks auto tpm

This commit is contained in:
2026-03-04 19:40:38 +01:00
parent 2063bb6224
commit 08acf60512

View File

@@ -1,15 +1,15 @@
{ ... }: { { ... }: {
flake.nixosModules.base-sys-boot = { flake.nixosModules.base-sys-boot = {lib, ... }:{
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
boot.loader.systemd-boot.consoleMode = "max"; boot.loader.systemd-boot.consoleMode = "max";
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
boot.loader.timeout = 1; boot.loader.timeout = 1;
boot.consoleLogLevel = 5; boot.consoleLogLevel = 0;
boot.initrd.verbose = false; boot.initrd.verbose = false;
boot.initrd.enable = true; boot.initrd.enable = true;
boot.initrd.systemd.enable = true; boot.initrd.systemd.enable = true;
boot.plymouth.enable = false; boot.plymouth.enable = true;
#boot.plymouth.theme = "bgrt"; boot.plymouth.theme = "bgrt";
boot.initrd.luks.devices."cryptroot" = { boot.initrd.luks.devices."cryptroot" = {
device = lib.mkForce "/dev/nvme0n1p2"; device = lib.mkForce "/dev/nvme0n1p2";
#crypttabExtraOpts = [ "tpm2-device=auto" ]; #crypttabExtraOpts = [ "tpm2-device=auto" ];