Set up Secure Boot
This commit is contained in:
@@ -19,16 +19,20 @@ with pkgs;
|
||||
# Device firmware updates
|
||||
services.fwupd.enable = true;
|
||||
|
||||
# Bootloader configuration
|
||||
# Secure boot using lanzaboote
|
||||
boot.loader = {
|
||||
efi.canTouchEfiVariables = true;
|
||||
systemd-boot = {
|
||||
enable = true;
|
||||
enable = false;
|
||||
configurationLimit = 50;
|
||||
editor = false;
|
||||
};
|
||||
timeout = 3;
|
||||
};
|
||||
boot.lanzaboote = {
|
||||
enable = true;
|
||||
pkiBundle = "/etc/secureboot";
|
||||
};
|
||||
|
||||
# Run Nix garbage collector and enable flakes
|
||||
nix = {
|
||||
@@ -102,13 +106,7 @@ with pkgs;
|
||||
enable = true;
|
||||
dates = "22:30";
|
||||
flake = "/home/coolneng/Projects/panacea";
|
||||
flags = [
|
||||
"--update-input"
|
||||
"agenix"
|
||||
"--update-input"
|
||||
"nixpkgs"
|
||||
"--commit-lock-file"
|
||||
];
|
||||
flags = [ "update" "--commit-lock-file" ];
|
||||
};
|
||||
|
||||
# Add required dependencies to the auto-upgrade service
|
||||
|
||||
Reference in New Issue
Block a user