nixos/moonraker: don't warn about harmless update_manager settings
The only setting we care to warn about is `enable_system_updates`, there's no reason to issue warnings when folks set, for example, `enable_auto_refresh`.
This commit is contained in:
parent
3df632c2fb
commit
a09b1c12fb
@ -103,7 +103,7 @@ in {
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
warnings = []
|
||||
++ optional (cfg.settings ? update_manager)
|
||||
++ optional (cfg.settings.update_manager.enable_system_updates or false)
|
||||
''Enabling update_manager is not supported on NixOS and will lead to non-removable warnings in some clients.''
|
||||
++ optional (cfg.configDir != null)
|
||||
''
|
||||
|
Loading…
Reference in New Issue
Block a user