skipper: move boot related config

This commit is contained in:
Adithya 2024-07-01 00:01:41 +05:30
parent 8b0c28367b
commit 7933d59e13
Signed by: adtya
GPG key ID: B8857BFBA2C47B9C
3 changed files with 11 additions and 12 deletions

View file

@ -1,11 +1,14 @@
{ lib
, pkgs
, ...
}: {
environment.etc."secureboot" = {
{ lib, pkgs, ... }: {
imports = [ ./plymouth.nix ];
environment = {
etc."secureboot" = {
mode = "symlink";
source = "/persist/secrets/secureboot";
};
systemPackages = with pkgs; [
sbctl
];
};
boot = {
bootspec.enable = true;
loader = {
@ -17,7 +20,4 @@
pkiBundle = "/persist/secrets/secureboot";
};
};
environment.systemPackages = with pkgs; [
sbctl
];
}

View file

@ -1,13 +1,12 @@
{ pkgs, ... }: {
imports = [
./boot
./hardware
./programs
./services
./network
./persistence
./virtualisation
./plymouth.nix
./secureboot.nix
./security.nix
];