mirror of
https://github.com/Moe1369/nix-fleet.git
synced 2026-04-24 23:59:07 +02:00
debug luks auto tpm
This commit is contained in:
@@ -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" ];
|
||||||
|
|||||||
Reference in New Issue
Block a user