Skip to content

Commit

Permalink
Add git credentials helper to store https credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
rake5k committed Jun 28, 2024
1 parent 9dfdce2 commit c6a1a30
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions home/roles/desktop/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ in
gnome.gnome-characters
gnome.nautilus
gnome.pomodoro
gnome.seahorse
mupdf
peek
gifski
Expand Down
2 changes: 2 additions & 0 deletions home/users/christian/git/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ in

programs.git = {
enable = true;
package = pkgs.gitFull;
lfs.enable = true;
userName = "Christian Harke";
signing.key = "630966F4";
Expand All @@ -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"
Expand Down

0 comments on commit c6a1a30

Please sign in to comment.