summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hel.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/hel.nix b/hel.nix
index e04a06e1..59285cda 100644
--- a/hel.nix
+++ b/hel.nix
@@ -310,6 +310,19 @@
310 source = ''${pkgs.callPackage ./custom/notify-user.nix { inherit (pkgs.haskellPackages) ghcWithPackages; }}/bin/notify-gkleen''; 310 source = ''${pkgs.callPackage ./custom/notify-user.nix { inherit (pkgs.haskellPackages) ghcWithPackages; }}/bin/notify-gkleen'';
311 } 311 }
312 ]; 312 ];
313
314 polkit = {
315 enable = true;
316 extraConfig = ''
317 polkit.addRule(function(action, subject) {
318 if ( action.id == "org.freedesktop.systemd1.manage-units"
319 && subject.isInGroup("admin")
320 ) {
321 return polkit.Result.YES;
322 }
323 });
324 '';
325 };
313 }; 326 };
314 327
315 time.timeZone = "Europe/Berlin"; 328 time.timeZone = "Europe/Berlin";