dots/modules/nixos/features/systemd-boot.nix
2025-07-29 15:05:46 +10:00

14 lines
285 B
Nix

{ config, lib, ... }:
let
feature = "systemd-boot";
in
{
config = lib.mkIf config.${feature}.enable {
boot.loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
};
};
options.${feature}.enable = lib.mkEnableOption "enables ${feature}";
}