diff --git a/user/app/git/git.nix b/user/app/git/git.nix index d2feab2..081db59 100644 --- a/user/app/git/git.nix +++ b/user/app/git/git.nix @@ -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") ]; }; }