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) {
|
||||
# Hard drive monitoring
|
||||
services.smartd.enable = lib.mkDefault true;
|
||||
# Firmware updates
|
||||
services.fwupd.enable = lib.mkDefault true;
|
||||
# Firmware updates (only work on EFI systems, so enable only when using systemd-boot)
|
||||
services.fwupd.enable = lib.mkDefault (config.boot.loader.systemd-boot.enable);
|
||||
})
|
||||
(lib.mkIf (!config.sbruder.full) {
|
||||
documentation.enable = lib.mkDefault false;
|
||||
|
|
Loading…
Reference in a new issue