From 6f597d83f5ed0c50dd2d4f59d6c778c56a0936ce Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Sun, 25 Aug 2024 03:52:13 -0700 Subject: [PATCH] git: add safe directory so nix can rebuild with doas --- users/youwen/common/core.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/users/youwen/common/core.nix b/users/youwen/common/core.nix index ed06be2..72bbc4f 100755 --- a/users/youwen/common/core.nix +++ b/users/youwen/common/core.nix @@ -26,6 +26,7 @@ init.defaultBranch = "main"; commit.gpgsign = pkgs.lib.mkDefault "true"; user.signingkey = "8F5E6C1AF90976CA7102917A865658ED1FE61EC3"; + safe.directory = "/etc/nixos/.git"; }; };