refactor(form): set default into for servers
This commit is contained in:
parent
6130d6b2c4
commit
3c9b2115b6
2 changed files with 6 additions and 6 deletions
|
@ -103,9 +103,4 @@ in
|
||||||
];
|
];
|
||||||
|
|
||||||
powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
|
powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
|
||||||
|
|
||||||
info = {
|
|
||||||
monitors = 0;
|
|
||||||
model = "Headless Server";
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -96,6 +96,11 @@ in
|
||||||
# raspberrypi-eeprom
|
# raspberrypi-eeprom
|
||||||
# ];
|
# ];
|
||||||
})
|
})
|
||||||
(mkIf cfg.server { })
|
(mkIf cfg.server {
|
||||||
|
info = {
|
||||||
|
monitors = mkDefault 0;
|
||||||
|
model = mkDefault "Headless Server";
|
||||||
|
};
|
||||||
|
})
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue