mirror of
https://github.com/youwen5/nixos.git
synced 2025-01-18 05:02:10 -08:00
fix: use correct format for git safe.directory
This commit is contained in:
parent
b0ee9e358c
commit
45a9469372
1 changed files with 3 additions and 3 deletions
|
@ -49,9 +49,9 @@ in
|
|||
maintenance.enable = true;
|
||||
extraConfig = {
|
||||
init.defaultBranch = "main";
|
||||
safe.directory = [
|
||||
osConfig.liminalOS.flakeLocation
|
||||
];
|
||||
safe.directory = lib.mkIf (
|
||||
osConfig.liminalOS.flakeLocation != null
|
||||
) osConfig.liminalOS.flakeLocation;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue