Merge pull request #281845 from lovesegfault/fix-moonraker-warn

This commit is contained in:
Bernardo Meurer 2024-01-21 14:09:00 -05:00 committed by GitHub
commit 28ad748d40
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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)
''