14b4bdb585
- Add shared modules for boot, hardware, networking, input, and host defaults - Move host-specific TOML flags to new option namespaces - Update SSH and service defaults for the new layout
16 lines
290 B
Nix
16 lines
290 B
Nix
{
|
|
config,
|
|
lib,
|
|
...
|
|
}: let
|
|
inherit (lib) mkDefault mkEnableOption;
|
|
cfg = config.unexplrd.boot.secureBoot;
|
|
in {
|
|
options.unexplrd.boot.secureBoot.enable =
|
|
mkEnableOption "secure boot support";
|
|
|
|
config = {
|
|
boot.loader.systemd-boot.enable = mkDefault (!cfg.enable);
|
|
};
|
|
}
|