more stuff moved to options and some more consistency

This commit is contained in:
twoneis 2025-03-09 14:52:03 +01:00
parent 6d9dbe38cb
commit 4ab970aea9
28 changed files with 394 additions and 298 deletions

View file

@ -5,9 +5,9 @@
...
}: let
inherit (lib) mkIf mkForce;
inherit (config) conf;
cfg = config.conf.secureboot;
in
mkIf conf.secureboot.enable {
mkIf cfg.enable {
environment.systemPackages = [pkgs.sbctl];
boot.loader.systemd-boot.enable = mkForce false;