Only set config if cfg.enable is true
This commit is contained in:
parent
b516ced9ac
commit
6d05e24941
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue