about summary refs log tree commit diff
path: root/nixos/tests/power-profiles-daemon.nix
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2023-04-19 14:21:15 +0000
committerAlyssa Ross <hi@alyssa.is>2023-04-19 14:21:15 +0000
commite6c0587ee5f64bf515a69b6b2ae760008db8fb5f (patch)
treee2cea14f02e8c7bc8b00301120baa392f722b02d /nixos/tests/power-profiles-daemon.nix
parenta21f3437fc7abfaf09c43aa38bf9c357157311e6 (diff)
nixosTests.power-profiles-daemon: enable polkit
I think this is required for the gdbus invocations used to implement
the test, rather than for power-profiles-daemon itself.

Fixes: a813be071ce ("nixos/polkit: don't enable by default")
Diffstat (limited to 'nixos/tests/power-profiles-daemon.nix')
-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 ];
   };