diff --git a/modules/audio-server.nix b/modules/audio-server.nix index 0387ea5f..e7090b0e 100644 --- a/modules/audio-server.nix +++ b/modules/audio-server.nix @@ -140,6 +140,15 @@ in return polkit.Result.YES; } }); + + // broader alternative if the above ever breaks + // polkit.addRule(function(action, subject) { + // if (subject.isInGroup("rtkit")) { + // if (action.id.indexOf("org.freedesktop.RealtimeKit1.") == 0) { + // return polkit.Result.YES; + // } + // } + // }); ''; rtkit.enable = true; };