We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 72927d5 + 7a6c521 commit 543b0d5Copy full SHA for 543b0d5
nixos/modules/services/misc/moonraker.nix
@@ -224,6 +224,8 @@ in
224
platform = "linux";
225
enable_estimator_updates = false;
226
};
227
+ # suppress PolicyKit warnings if system control is disabled
228
+ machine.provider = lib.mkIf (!cfg.allowSystemControl) (lib.mkDefault "none");
229
230
231
security.polkit.extraConfig = lib.optionalString cfg.allowSystemControl ''
0 commit comments