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: a813be071c ("nixos/polkit: don't enable by default")
This commit is contained in:
Alyssa Ross 2023-04-19 14:21:15 +00:00
parent a21f3437fc
commit e6c0587ee5
No known key found for this signature in database
GPG key ID: F9DBED4859B271C0

View file

@ -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 ];
};