From d669e56616aea3c5b1ab1bdd560547e3fb56371e Mon Sep 17 00:00:00 2001 From: Noa Aarts Date: Thu, 16 Oct 2025 18:49:15 +0200 Subject: [PATCH] store git credentials --- hosts/nuos/configuration.nix | 8 ++++---- modules/applications/git.nix | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/hosts/nuos/configuration.nix b/hosts/nuos/configuration.nix index d0d19d5..bce80d7 100644 --- a/hosts/nuos/configuration.nix +++ b/hosts/nuos/configuration.nix @@ -79,10 +79,10 @@ # Some programs need SUID wrappers, can be configured further or are # started in user sessions. # programs.mtr.enable = true; - # programs.gnupg.agent = { - # enable = true; - # enableSSHSupport = true; - # }; + programs.gnupg.agent = { + enable = true; + enableSSHSupport = true; + }; programs.zsh.enable = true; diff --git a/modules/applications/git.nix b/modules/applications/git.nix index ee9d3e9..1b08896 100644 --- a/modules/applications/git.nix +++ b/modules/applications/git.nix @@ -36,6 +36,7 @@ in pull.rebase = false; commit.gpgsign = cfg.do_sign; push.autoSetupRemote = true; + credential.helper = "store"; }; }; };