diff --git a/home/rachel.nix b/home/rachel.nix index e0255f0..36c0190 100644 --- a/home/rachel.nix +++ b/home/rachel.nix @@ -401,4 +401,11 @@ in }; }; }; + + services = { + gpg-agent = { + enable = true; + pinentryFlavor = "qt"; + }; + }; } diff --git a/shared/desktop.nix b/shared/desktop.nix index 76b7365..5b8e5ee 100644 --- a/shared/desktop.nix +++ b/shared/desktop.nix @@ -117,10 +117,7 @@ networking.firewall.enable = true; networking.firewall.allowedTCPPorts = [ 22 ]; networking.firewall.allowedUDPPorts = [ ]; - programs.gnupg.agent = { - enable = true; - pinentryFlavor = "qt"; - }; + security.doas = { enable = true; extraRules = [{