hosts/dunamis/boot.nix: add lanzaboote

hosts/dunamis/services.nix: disable scx because module.sig_enforce and/or lockdown=confidentiality break it

Signed-off-by: unexplrd <unexplrd@linerds.us>
This commit is contained in:
2025-03-29 14:30:34 +02:00
parent a366ae47b6
commit ab6611a231
2 changed files with 8 additions and 2 deletions

View File

@ -1,10 +1,12 @@
{
pkgs,
config,
inputs,
...
}: {
imports = with inputs; [
chaotic.nixosModules.default
lanzaboote.nixosModules.lanzaboote
];
boot = {
# kernelPackages = pkgs.linuxPackages_latest;
@ -42,9 +44,13 @@
};
loader.efi.canTouchEfiVariables = true;
loader.systemd-boot = {
enable = true;
enable = !config.boot.lanzaboote.enable;
consoleMode = "auto";
};
lanzaboote = {
enable = true;
pkiBundle = "/var/lib/sbctl";
};
plymouth.enable = true;
};
console = {

View File

@ -24,7 +24,7 @@
};
};
scx = {
enable = true;
enable = false;
scheduler = "scx_flash";
};
logind = {