mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 17:31:34 +01:00
20 lines
390 B
Nix
20 lines
390 B
Nix
{
|
|
config,
|
|
lib,
|
|
...
|
|
}: {
|
|
options.myConfig.boot.systemd.enable = lib.mkEnableOption "";
|
|
|
|
config = lib.mkIf config.myConfig.boot.systemd.enable {
|
|
boot.tmp.cleanOnBoot = true;
|
|
boot.loader = {
|
|
systemd-boot = {
|
|
enable = true;
|
|
editor = false;
|
|
configurationLimit = 50;
|
|
};
|
|
efi.canTouchEfiVariables = true;
|
|
timeout = 3;
|
|
};
|
|
};
|
|
}
|