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,10 +1,13 @@
{ lib { lib, pkgs, ... }: {
, pkgs imports = [ ./plymouth.nix ];
, ... environment = {
}: { etc."secureboot" = {
environment.etc."secureboot" = { mode = "symlink";
mode = "symlink"; source = "/persist/secrets/secureboot";
source = "/persist/secrets/secureboot"; };
systemPackages = with pkgs; [
sbctl
];
}; };
boot = { boot = {
bootspec.enable = true; bootspec.enable = true;
@ -17,7 +20,4 @@
pkiBundle = "/persist/secrets/secureboot"; pkiBundle = "/persist/secrets/secureboot";
}; };
}; };
environment.systemPackages = with pkgs; [
sbctl
];
} }

View file

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