From 67d2f5c36b9c2d99671df7afe5900d697ac3380c Mon Sep 17 00:00:00 2001 From: Emmet Date: Fri, 31 May 2024 21:07:02 -0500 Subject: [PATCH] Fixes weird ~/.dotfiles unsafe glitch --- user/app/git/git.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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") ]; }; }