mirror of
https://github.com/blahai/nyx.git
synced 2025-01-19 03:20:20 +00:00
19 lines
320 B
Nix
19 lines
320 B
Nix
|
{
|
||
|
lib,
|
||
|
config,
|
||
|
...
|
||
|
}: let
|
||
|
inherit (lib.modules) mkIf mkDefault;
|
||
|
|
||
|
cfg = config.olympus.system.boot;
|
||
|
in {
|
||
|
config = mkIf (cfg.loader == "systemd-boot") {
|
||
|
boot.loader.systemd-boot = {
|
||
|
enable = mkDefault true;
|
||
|
configurationLimit = 5;
|
||
|
consoleMode = "max";
|
||
|
editor = false;
|
||
|
};
|
||
|
};
|
||
|
}
|