[Nix-dev] policykit

Yury G. Kudryashov urkud+nix at ya.ru
Wed Apr 28 11:29:57 CEST 2010


Hi!

Currently we use only policykit, consolekit and hal policy files. What do 
you think about using policy files from all packages in /var/run/current-
system/sw?

There are two ways:
1. hardcode this solution: just add /share/PolicyKit/policy to system-path 
pathsToLink, and point policykit to /var/run/current-
system/sw/share/PolicyKit/policy.
2. make an option "polkitPackages" with "config.environment.systemPackages" 
as an example.

I vote for 2. Any other ideas?




More information about the nix-dev mailing list