From d8573cad9e95d9874f09fa7ab2f3e46e73522cfe Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Mon, 14 Nov 2022 20:30:51 +0100 Subject: [PATCH] base: move gpg agent to gui programs It'll only get used on machines I can physically access --- base/gui-programs.nix | 6 ++++++ base/programs.nix | 5 ----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/base/gui-programs.nix b/base/gui-programs.nix index 87227b9..11480d3 100644 --- a/base/gui-programs.nix +++ b/base/gui-programs.nix @@ -20,6 +20,12 @@ in { config = mkIf config.my.gui.enable { my.displayManager.sddm.enable = true; + programs.gnupg.agent = { + enable = true; + enableSSHSupport = true; + pinentryFlavor = "gnome3"; + }; + services = { xserver = { enable = true; diff --git a/base/programs.nix b/base/programs.nix index 554ec02..91d4ebf 100644 --- a/base/programs.nix +++ b/base/programs.nix @@ -1,11 +1,6 @@ {pkgs, ...}: { programs = { fish.enable = true; - gnupg.agent = { - enable = true; - enableSSHSupport = true; - pinentryFlavor = "gnome3"; - }; less.enable = true; mosh.enable = true;