diff --git a/hosts/Infini-SERVER/hardware-configuration.nix b/hosts/Infini-SERVER/hardware-configuration.nix index c14cc3f..2f7fb60 100644 --- a/hosts/Infini-SERVER/hardware-configuration.nix +++ b/hosts/Infini-SERVER/hardware-configuration.nix @@ -103,9 +103,4 @@ in ]; powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand"; - - info = { - monitors = 0; - model = "Headless Server"; - }; } diff --git a/modules/modules/hardware/form.nix b/modules/modules/hardware/form.nix index 67f8c49..9e48023 100644 --- a/modules/modules/hardware/form.nix +++ b/modules/modules/hardware/form.nix @@ -96,6 +96,11 @@ in # raspberrypi-eeprom # ]; }) - (mkIf cfg.server { }) + (mkIf cfg.server { + info = { + monitors = mkDefault 0; + model = mkDefault "Headless Server"; + }; + }) ]; }