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;
|
config = let profiles = cfg.profiles;
|
||||||
in {
|
in {
|
||||||
programs.git = {
|
programs.git = {
|
||||||
|
# fix/workaround for https://github.com/NixOS/nixpkgs/issues/169193
|
||||||
|
extraConfig.safe.directory = "/etc/nixos";
|
||||||
|
|
||||||
userName = profiles."${cfg.defaultProfile}".name;
|
userName = profiles."${cfg.defaultProfile}".name;
|
||||||
userEmail = profiles."${cfg.defaultProfile}".email;
|
userEmail = profiles."${cfg.defaultProfile}".email;
|
||||||
signing = { key = profiles."${cfg.defaultProfile}".signingKey; };
|
signing = { key = profiles."${cfg.defaultProfile}".signingKey; };
|
||||||
|
|
Loading…
Reference in a new issue