commit a7d3a65df040ac4b736845866e479e21dadbcebf
parent f6fb51b2c6fc91701ab8a66a7e39e2b8597f4323
Author: Vincent Demeester <vincent@sbr.pm>
Date: Tue, 23 Jun 2020 16:44:16 +0200
users/vincent: disable gpg-agent on nixos machines…
… at least by default. Also add it to the `services.gpg-agent` on naruhodo.
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
2 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/systems/naruhodo.home.nix b/systems/naruhodo.home.nix
@@ -18,9 +18,18 @@ in
../users/vincent/containers/openshift.nix
];
+ home.extraOutputsToInstall = [ "man" ];
home.file.".local/share/applications/redhat-vpn.desktop".source = ./naruhodo/redhat-vpn.desktop;
programs.bash.enable = lib.mkForce false;
programs.man.enable = true;
- home.extraOutputsToInstall = [ "man" ];
+
+ services = {
+ gpg-agent = {
+ enable = true;
+ enableSshSupport = true;
+ enableExtraSocket = true;
+ defaultCacheTtlSsh = 7200;
+ };
+ };
}
diff --git a/users/vincent/core/gpg.nix b/users/vincent/core/gpg.nix
@@ -2,6 +2,7 @@
{
home.packages = with pkgs; [ gnupg ];
+ /*
services = {
gpg-agent = {
enable = true;
@@ -11,4 +12,5 @@
# pinEntryFlavor = "gtk2";
};
};
+ */
}