feat: Add git safe directory to system config
This commit adds a git safe directory to the system config. This is to ensure that the git configurations are securely stored in "/var/lib/gitea/repositories/harald/nixcfg.git".
This commit is contained in:
parent
712f3aaeb7
commit
1cd78fe21b
|
@ -35,6 +35,8 @@
|
|||
flake = lib.mkForce "git+file:///var/lib/gitea/repositories/harald/nixcfg.git#mx";
|
||||
};
|
||||
|
||||
programs.git.config.safe.directory = "/var/lib/gitea/repositories/harald/nixcfg.git";
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
age
|
||||
apacheHttpd # for mkpasswd
|
||||
|
|
Loading…
Reference in a new issue