diff options
Diffstat (limited to 'features/system/services/core')
| -rw-r--r-- | features/system/services/core/systemd-boot.nix | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/features/system/services/core/systemd-boot.nix b/features/system/services/core/systemd-boot.nix new file mode 100644 index 0000000..2826f1b --- /dev/null +++ b/features/system/services/core/systemd-boot.nix @@ -0,0 +1,11 @@ +{ config, lib, ... }: let + cfg = config.features.services.core.systemd-boot; +in { + options.features.services.core.systemd-boot.enable = lib.mkEnableOption "systemd-boot"; + config = lib.mkIf cfg.enable { + boot.loader = { + systemd-boot.enable = true; + efi.canTouchEfiVariables = true; + }; + }; +} |
