diff options
author | Alyssa Ross <hi@alyssa.is> | 2023-04-19 14:21:15 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2023-04-19 14:21:15 +0000 |
commit | e6c0587ee5f64bf515a69b6b2ae760008db8fb5f (patch) | |
tree | e2cea14f02e8c7bc8b00301120baa392f722b02d /nixos | |
parent | a21f3437fc7abfaf09c43aa38bf9c357157311e6 (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')
-rw-r--r-- | nixos/tests/power-profiles-daemon.nix | 1 |
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 ]; }; |