fix(git_nixos): move to git-credential-manager
This commit is contained in:
parent
99dde2f4f2
commit
007969cdb5
@ -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
|
||||||
|
@ -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
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user