mirror of
https://github.com/librephoenix/nixos-config
synced 2025-01-19 07:05:51 +05:30
Fixes weird ~/.dotfiles unsafe glitch
This commit is contained in:
parent
4a7d92b13d
commit
67d2f5c36b
|
@ -7,6 +7,7 @@
|
||||||
programs.git.userEmail = userSettings.email;
|
programs.git.userEmail = userSettings.email;
|
||||||
programs.git.extraConfig = {
|
programs.git.extraConfig = {
|
||||||
init.defaultBranch = "main";
|
init.defaultBranch = "main";
|
||||||
safe.directory = "/home/" + userSettings.username + "/.dotfiles";
|
safe.directory = [ ("/home/" + userSettings.username + "/.dotfiles")
|
||||||
|
("/home/" + userSettings.username + "/.dotfiles/.git") ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue