From e6c0587ee5f64bf515a69b6b2ae760008db8fb5f Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Wed, 19 Apr 2023 14:21:15 +0000 Subject: [PATCH] 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") --- nixos/tests/power-profiles-daemon.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/tests/power-profiles-daemon.nix b/nixos/tests/power-profiles-daemon.nix index 278e94711830..c887cde4b829 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 ]; };