From 8eb28bed2ffd9bbba0ab81f9ae0178639fb406b2 Mon Sep 17 00:00:00 2001 From: David Reaver Date: Tue, 21 Sep 2021 15:16:20 -0700 Subject: [PATCH] 1password: Install polkit action file (#132478) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Daniƫl de Kok --- pkgs/applications/misc/1password-gui/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/applications/misc/1password-gui/default.nix b/pkgs/applications/misc/1password-gui/default.nix index 0803b495b2fa..486fb6b5f9ce 100644 --- a/pkgs/applications/misc/1password-gui/default.nix +++ b/pkgs/applications/misc/1password-gui/default.nix @@ -86,6 +86,9 @@ stdenv.mkDerivation rec { substituteInPlace $out/share/applications/${pname}.desktop \ --replace 'Exec=/opt/1Password/${pname}' 'Exec=${pname}' + # Polkit file + install -Dm 0644 -t $out/share/polkit-1/actions com.1password.1Password.policy + # Icons cp -a resources/icons $out/share