From c6a1a3042cb982c268b33a2c076b7c441c6d49a9 Mon Sep 17 00:00:00 2001 From: Christian Harke Date: Fri, 28 Jun 2024 23:19:30 +0200 Subject: [PATCH] Add git credentials helper to store https credentials --- home/roles/desktop/default.nix | 1 + home/users/christian/git/default.nix | 2 ++ 2 files changed, 3 insertions(+) diff --git a/home/roles/desktop/default.nix b/home/roles/desktop/default.nix index 61db849b..153f7587 100644 --- a/home/roles/desktop/default.nix +++ b/home/roles/desktop/default.nix @@ -110,6 +110,7 @@ in gnome.gnome-characters gnome.nautilus gnome.pomodoro + gnome.seahorse mupdf peek gifski diff --git a/home/users/christian/git/default.nix b/home/users/christian/git/default.nix index 0e871a40..77e14c99 100644 --- a/home/users/christian/git/default.nix +++ b/home/users/christian/git/default.nix @@ -24,6 +24,7 @@ in programs.git = { enable = true; + package = pkgs.gitFull; lfs.enable = true; userName = "Christian Harke"; signing.key = "630966F4"; @@ -47,6 +48,7 @@ in }; extraConfig = { + credential.helper = "${pkgs.gitFull}/share/git/contrib/credential/libsecret/git-credential-libsecret"; maintenance.repo = [ "${config.home.homeDirectory}/.nix-config" "${config.home.homeDirectory}/code/nixcfg"