mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 22:11:33 +01:00
18 lines
411 B
Nix
18 lines
411 B
Nix
{ config, lib, ... }:
|
|
{
|
|
options.custom.boot.loader.systemdBoot.enable = lib.mkEnableOption "";
|
|
|
|
config = lib.mkIf config.custom.boot.loader.systemdBoot.enable {
|
|
boot = {
|
|
tmp.cleanOnBoot = true;
|
|
loader = {
|
|
systemd-boot = {
|
|
enable = true;
|
|
editor = false;
|
|
configurationLimit = 20;
|
|
};
|
|
efi.canTouchEfiVariables = true;
|
|
};
|
|
};
|
|
};
|
|
}
|