core/boot: dont setup systemd-boot on servers

This commit is contained in:
Anthony Rodriguez 2025-02-18 10:19:45 +01:00
parent d3bb2e0e57
commit 5a0e7a92f4
Signed by: nezia
SSH key fingerprint: SHA256:R/ue1eTzTHUoo77lJD/3fSUsyL4AwvcHImU5BAZai+8

View file

@ -1,4 +1,12 @@
{pkgs, ...}: {
{
lib,
config,
...
}: let
inherit (lib.modules) mkIf;
inherit (config.local.profiles) server;
in {
config = mkIf (!server.enable) {
boot = {
loader = {
timeout = 0;
@ -27,4 +35,5 @@
"rd.udev.log_level=3"
];
};
};
}