nix-config/modules/boot/loader/systemd.nix
2025-02-25 15:56:58 +01:00

22 lines
409 B
Nix

{
inputs,
outputs,
lib,
config,
pkgs,
...
}: let
inherit (lib) mkEnableOption mkIf mkOption types;
cfg = config.horseman.boot.loader.systemd;
in {
options = {
horseman.boot.loader.systemd = {
enable = mkEnableOption "Sets systemd as the bootloader";
};
};
config = {
boot.loader.systemd-boot.enable = true;
boot.loader.systemd-boot.configurationLimit = 10;
};
}