fix: use correct format for git safe.directory

This commit is contained in:
Youwen Wu 2024-12-26 00:14:54 -08:00
parent b0ee9e358c
commit 45a9469372
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3

View file

@ -49,9 +49,9 @@ in
maintenance.enable = true; maintenance.enable = true;
extraConfig = { extraConfig = {
init.defaultBranch = "main"; init.defaultBranch = "main";
safe.directory = [ safe.directory = lib.mkIf (
osConfig.liminalOS.flakeLocation osConfig.liminalOS.flakeLocation != null
]; ) osConfig.liminalOS.flakeLocation;
}; };
}; };