fix: fix rebuild issues due to git changes
Workaround for https://github.com/NixOS/nixpkgs/issues/169193
This commit is contained in:
parent
46409b1c71
commit
436ba2719f
|
@ -20,6 +20,9 @@ in {
|
|||
config = let profiles = cfg.profiles;
|
||||
in {
|
||||
programs.git = {
|
||||
# fix/workaround for https://github.com/NixOS/nixpkgs/issues/169193
|
||||
extraConfig.safe.directory = "/etc/nixos";
|
||||
|
||||
userName = profiles."${cfg.defaultProfile}".name;
|
||||
userEmail = profiles."${cfg.defaultProfile}".email;
|
||||
signing = { key = profiles."${cfg.defaultProfile}".signingKey; };
|
||||
|
|
Loading…
Reference in a new issue