summaryrefslogtreecommitdiff
path: root/features/system/services/core/systemd-boot.nix
blob: 2826f1bfc0c853ca302c978ec8787a591bd9656c (plain)
1
2
3
4
5
6
7
8
9
10
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;
    };
  };
}