skipper: move boot related config
This commit is contained in:
parent
8b0c28367b
commit
7933d59e13
3 changed files with 11 additions and 12 deletions
|
@ -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
|
|
||||||
];
|
|
||||||
}
|
}
|
|
@ -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
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue