home: update git config
This commit is contained in:
parent
91a8a50c7b
commit
dcdb5f3734
|
@ -269,7 +269,6 @@
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "chayleaf",
|
"owner": "chayleaf",
|
||||||
"ref": "akkoma",
|
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
inputs = {
|
inputs = {
|
||||||
#nixpkgs.url = "github:nixos/nixpkgs/3dc2b4f8166f744c3b3e9ff8224e7c5d74a5424f";
|
#nixpkgs.url = "github:nixos/nixpkgs/3dc2b4f8166f744c3b3e9ff8224e7c5d74a5424f";
|
||||||
# nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
# nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||||
nixpkgs.url = "github:chayleaf/nixpkgs/akkoma";
|
nixpkgs.url = "github:chayleaf/nixpkgs";
|
||||||
nixpkgs2.url = "github:nixos/nixpkgs/master";
|
nixpkgs2.url = "github:nixos/nixpkgs/master";
|
||||||
nixos-hardware.url = "github:NixOS/nixos-hardware";
|
nixos-hardware.url = "github:NixOS/nixos-hardware";
|
||||||
mobile-nixos = {
|
mobile-nixos = {
|
||||||
|
|
|
@ -107,6 +107,10 @@
|
||||||
# ...and prefer getting passwords from libsecret (and storing them there)
|
# ...and prefer getting passwords from libsecret (and storing them there)
|
||||||
credential.helper = "${pkgs.gitAndTools.gitFull}/bin/git-credential-libsecret";
|
credential.helper = "${pkgs.gitAndTools.gitFull}/bin/git-credential-libsecret";
|
||||||
init.defaultBranch = "master";
|
init.defaultBranch = "master";
|
||||||
|
# no need for git pust -u origin <branch>
|
||||||
|
push.autoSetupRemote = true;
|
||||||
|
# allow different upstream branch name
|
||||||
|
push.default = "upstream";
|
||||||
};
|
};
|
||||||
lfs.enable = true;
|
lfs.enable = true;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue