mirror of
https://github.com/tomasriveral/nixos.git
synced 2026-10-10 17:02:43 +02:00
git config
This commit is contained in:
1 parent
bc67f2b0e8
commit
9805986c10
2 files changed
+3
No files matched your search
@@ -653,6 +653,7 @@ Some application state may need to be configured manually after installation:
|
|||||||
* Birdtray settings
|
* Birdtray settings
|
||||||
* Inkscape settings
|
* Inkscape settings
|
||||||
* other application-specific user data
|
* other application-specific user data
|
||||||
|
* git configuration
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -3,6 +3,8 @@ _: {
|
|||||||
programs.git = {
|
programs.git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
/*
|
/*
|
||||||
|
for some reason this doesnt work really well. So it's best to setup git imperatively
|
||||||
|
push.autoSetupRemote to true
|
||||||
settings = {
|
settings = {
|
||||||
init.defaultBranch = "main";
|
init.defaultBranch = "main";
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in new issue
Block a user