This commit is contained in:
mjallen18
2025-05-27 15:00:05 -05:00
parent bc995c30ca
commit 8a208ec059
2 changed files with 19 additions and 1 deletions

View File

@@ -10,7 +10,7 @@ in
kernelModules = [ "nct6775" ]; kernelModules = [ "nct6775" ];
loader = { loader = {
systemd-boot = { systemd-boot = {
enable = true; enable = false;
configurationLimit = 5; configurationLimit = 5;
extraInstallCommands = '' extraInstallCommands = ''
${pkgs.uutils-coreutils}/bin/uutils-echo "timeout 0 ${pkgs.uutils-coreutils}/bin/uutils-echo "timeout 0
@@ -23,6 +23,20 @@ in
canTouchEfiVariables = true; canTouchEfiVariables = true;
efiSysMountPoint = "/boot"; efiSysMountPoint = "/boot";
}; };
lanzaboote = {
enable = true;
pkiBundle = "/etc/secureboot";
settings = {
console-mode = "max";
};
configurationLimit = 5;
extraInstallCommands = ''
${pkgs.uutils-coreutils}/bin/uutils-echo "timeout 0
console-mode 1
default nixos-*" > /boot/loader/loader.conf
'';
};
}; };
plymouth = { plymouth = {

View File

@@ -61,4 +61,8 @@ in
# Enable binfmt emulation for ARM # Enable binfmt emulation for ARM
binfmt.emulatedSystems = [ "aarch64-linux" ]; # --argstr system aarch64-linux binfmt.emulatedSystems = [ "aarch64-linux" ]; # --argstr system aarch64-linux
}; };
zramSwap = {
enable = true;
};
} }