From 7af623fd7c81af56fb289996d0ed349b68055c6f Mon Sep 17 00:00:00 2001 From: ooks-io Date: Fri, 18 Aug 2023 17:43:21 +1200 Subject: [PATCH] add: 1password --- system/common/global/security.nix | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/system/common/global/security.nix b/system/common/global/security.nix index 0dc669a..86c7c85 100644 --- a/system/common/global/security.nix +++ b/system/common/global/security.nix @@ -6,11 +6,19 @@ { - programs.gnupg.agent = { - enable = true; - enableSSHSupport = true; + programs = { + gnupg.agent = { + enable = true; + enableSSHSupport = true; + }; + _1password = { + enable = true; + }; + _1password-gui = { + enable = true; + polkitPolicyOwners = [ "ooks" ]; + }; }; - security = { polkit = { enable = true; @@ -23,6 +31,7 @@ }; }; + systemd = { user.services.polkit-gnome-authentication-agent-1 = { description = "polkit-gnome-authentication-agent-1";