Fixes weird ~/.dotfiles unsafe glitch

This commit is contained in:
Emmet 2024-05-31 21:07:02 -05:00
parent 4a7d92b13d
commit 67d2f5c36b

View file

@ -7,6 +7,7 @@
programs.git.userEmail = userSettings.email;
programs.git.extraConfig = {
init.defaultBranch = "main";
safe.directory = "/home/" + userSettings.username + "/.dotfiles";
safe.directory = [ ("/home/" + userSettings.username + "/.dotfiles")
("/home/" + userSettings.username + "/.dotfiles/.git") ];
};
}