Only enable fwupd on EFI systems
This commit is contained in:
parent
8b9a469153
commit
de3e4ad1bd
|
@ -163,8 +163,8 @@
|
||||||
(lib.mkIf (!config.sbruder.machine.isVm) {
|
(lib.mkIf (!config.sbruder.machine.isVm) {
|
||||||
# Hard drive monitoring
|
# Hard drive monitoring
|
||||||
services.smartd.enable = lib.mkDefault true;
|
services.smartd.enable = lib.mkDefault true;
|
||||||
# Firmware updates
|
# Firmware updates (only work on EFI systems, so enable only when using systemd-boot)
|
||||||
services.fwupd.enable = lib.mkDefault true;
|
services.fwupd.enable = lib.mkDefault (config.boot.loader.systemd-boot.enable);
|
||||||
})
|
})
|
||||||
(lib.mkIf (!config.sbruder.full) {
|
(lib.mkIf (!config.sbruder.full) {
|
||||||
documentation.enable = lib.mkDefault false;
|
documentation.enable = lib.mkDefault false;
|
||||||
|
|
Loading…
Reference in a new issue