diff --git a/defaults/user-configuration/fhauser/applications/git.nix b/defaults/user-configuration/fhauser/applications/git.nix index 95b1c74..fc4badc 100644 --- a/defaults/user-configuration/fhauser/applications/git.nix +++ b/defaults/user-configuration/fhauser/applications/git.nix @@ -63,11 +63,7 @@ }; }; }); - in [ - (mkDefaultConfig "~/private/") - (mkDefaultConfig "/etc/nixos/") - (mkDefaultConfig "~/.password-store") - ((mkDefaultConfig "~/work/") // { + workConfig = { contents = { commit.gpgsign = true; tag.gpgsign = true; @@ -77,7 +73,14 @@ }; url."git@work.github.com".insteadOf = "git@github.com"; }; - }) + }; + in [ + (mkDefaultConfig "~/private/") + (mkDefaultConfig "/etc/nixos/") + (mkDefaultConfig "~/.password-store/") + (mkDefaultConfig "~/shares/cloud.qo.is/") + ((mkDefaultConfig "~/work/") // workConfig) + ((mkDefaultConfig "~/shares/cloud.threema.ch/") // workConfig) ]; ignores = [ "*~" "*.swp" ".direnv/" ]; lfs.enable = true;