home: update git config

This commit is contained in:
chayleaf 2023-10-26 02:01:59 +07:00
parent 91a8a50c7b
commit dcdb5f3734
3 changed files with 5 additions and 2 deletions

View file

@ -269,7 +269,6 @@
},
"original": {
"owner": "chayleaf",
"ref": "akkoma",
"repo": "nixpkgs",
"type": "github"
}

View file

@ -4,7 +4,7 @@
inputs = {
#nixpkgs.url = "github:nixos/nixpkgs/3dc2b4f8166f744c3b3e9ff8224e7c5d74a5424f";
# nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
nixpkgs.url = "github:chayleaf/nixpkgs/akkoma";
nixpkgs.url = "github:chayleaf/nixpkgs";
nixpkgs2.url = "github:nixos/nixpkgs/master";
nixos-hardware.url = "github:NixOS/nixos-hardware";
mobile-nixos = {

View file

@ -107,6 +107,10 @@
# ...and prefer getting passwords from libsecret (and storing them there)
credential.helper = "${pkgs.gitAndTools.gitFull}/bin/git-credential-libsecret";
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;
};