configuration.nix/hosts/skipper/boot/default.nix

24 lines
482 B
Nix
Raw Normal View History

2024-07-01 00:01:41 +05:30
{ lib, pkgs, ... }: {
imports = [ ./plymouth.nix ];
environment = {
etc."secureboot" = {
mode = "symlink";
source = "/persist/secrets/secureboot";
};
systemPackages = with pkgs; [
sbctl
];
2024-06-20 19:41:06 +05:30
};
2023-10-02 17:23:23 +05:30
boot = {
bootspec.enable = true;
2024-06-30 23:54:47 +05:30
loader = {
efi.canTouchEfiVariables = true;
systemd-boot.enable = lib.mkForce false;
};
2023-10-02 17:23:23 +05:30
lanzaboote = {
enable = true;
2024-06-20 19:41:06 +05:30
pkiBundle = "/persist/secrets/secureboot";
2023-10-02 17:23:23 +05:30
};
2023-03-15 22:11:59 +05:30
};
}