nix-software-center/data/dev.vlinkz.NixSoftwareCenter.policy.in.in
2022-08-26 17:48:43 -04:00

18 lines
822 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE policyconfig PUBLIC "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
"http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
<policyconfig>
<vendor>Victor Fuentes</vendor>
<vendor_url>https://github.com/vlinkz</vendor_url>
<action id="dev.vlinkz.NixSoftwareCenter">
<description>Give Nix Software Center root access</description>
<message>Authentication is required to install NixOS system packages</message>
<defaults>
<allow_any>no</allow_any>
<allow_inactive>no</allow_inactive>
<allow_active>auth_admin_keep</allow_active>
</defaults>
<annotate key="org.freedesktop.policykit.exec.path">@pkglibexecdir@/nsc-helper</annotate>
</action>
</policyconfig>