2025-02-18 10:19:45 +01:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
config,
|
|
|
|
...
|
|
|
|
}: let
|
|
|
|
inherit (lib.modules) mkIf;
|
|
|
|
inherit (config.local.profiles) server;
|
|
|
|
in {
|
|
|
|
config = mkIf (!server.enable) {
|
|
|
|
boot = {
|
|
|
|
loader = {
|
|
|
|
timeout = 0;
|
|
|
|
systemd-boot = {
|
|
|
|
enable = true;
|
|
|
|
consoleMode = "2";
|
|
|
|
};
|
|
|
|
efi.canTouchEfiVariables = true;
|
2024-08-27 13:22:17 +02:00
|
|
|
};
|
|
|
|
|
2025-02-18 10:19:45 +01:00
|
|
|
plymouth = {
|
|
|
|
enable = true;
|
|
|
|
extraConfig = ''
|
|
|
|
[Daemon]
|
|
|
|
DeviceScale=2
|
|
|
|
'';
|
|
|
|
};
|
2024-10-14 14:35:57 +02:00
|
|
|
|
2025-02-18 10:19:45 +01:00
|
|
|
consoleLogLevel = 0;
|
|
|
|
initrd.systemd.enable = true;
|
|
|
|
initrd.verbose = false;
|
2024-10-13 18:41:20 +02:00
|
|
|
|
2025-02-18 10:19:45 +01:00
|
|
|
kernelParams = [
|
|
|
|
"quiet"
|
|
|
|
"systemd.show_status=auto"
|
|
|
|
"rd.udev.log_level=3"
|
|
|
|
];
|
|
|
|
};
|
2024-10-15 14:22:03 +02:00
|
|
|
};
|
2024-08-27 13:22:17 +02:00
|
|
|
}
|