Only set config if cfg.enable is true

This commit is contained in:
niten 2024-05-20 19:41:53 -07:00
parent b516ced9ac
commit 6d05e24941
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ in {
# TODO: maybe have different types?
};
config = {
config = mkIf cfg.enable {
systemd.tmpfiles.rules = [ "d ${cfg.state-directory} 0750 root root - -" ];
virtualisation.arion.projects.immich.settings = let