fix(git_nixos): move to git-credential-manager

This commit is contained in:
Michael Thomas 2024-04-16 10:30:36 -04:00
parent 99dde2f4f2
commit 007969cdb5
2 changed files with 6 additions and 6 deletions

View File

@ -4,6 +4,8 @@
package = pkgs.unstable.hyprland; package = pkgs.unstable.hyprland;
}; };
services.gnome.gnome-keyring.enable = true;
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
# Theme # Theme
adw-gtk3 adw-gtk3

View File

@ -2,15 +2,13 @@
programs.git = { programs.git = {
package = pkgs.gitAndTools.gitFull; package = pkgs.gitAndTools.gitFull;
extraConfig = { extraConfig = {
credential.helper = [ credential.helper = "manager";
# Cache credentials for 2 weeks credential.credentialStore = "secretservice";
"cache --timeout 1209600" credential."git.thomasfmly.org".provider = "generic";
"oauth"
];
}; };
}; };
home.packages = with pkgs; [ home.packages = with pkgs; [
git-credential-oauth git-credential-manager
]; ];
} }