about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorMartin Weinelt <mweinelt@users.noreply.github.com>2023-04-19 18:29:40 +0200
committerGitHub <noreply@github.com>2023-04-19 18:29:40 +0200
commitdaf84cf56c1f91698961352d99430bc011b5e722 (patch)
treec4c45b27ecff3864aec7267f42f608dcc165bcce /nixos
parent1c11755a0ad0f3862abc8d5d720a700586852899 (diff)
parente6c0587ee5f64bf515a69b6b2ae760008db8fb5f (diff)
Merge pull request #227065 from alyssais/nixosTests.power-profiles-daemon-polkit
nixosTests.power-profiles-daemon: enable polkit
Diffstat (limited to 'nixos')
-rw-r--r--nixos/tests/power-profiles-daemon.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/tests/power-profiles-daemon.nix b/nixos/tests/power-profiles-daemon.nix
index 278e94711830a..c887cde4b829e 100644
--- a/nixos/tests/power-profiles-daemon.nix
+++ b/nixos/tests/power-profiles-daemon.nix
@@ -6,6 +6,7 @@ import ./make-test-python.nix ({ pkgs, ... }:
     maintainers = [ mvnetbiz ];
   };
   nodes.machine = { pkgs, ... }: {
+    security.polkit.enable = true;
     services.power-profiles-daemon.enable = true;
     environment.systemPackages = [ pkgs.glib ];
   };