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

View File

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