Only set config if cfg.enable is true
This commit is contained in:
@@ -30,7 +30,7 @@ in {
|
|||||||
# TODO: maybe have different types?
|
# TODO: maybe have different types?
|
||||||
};
|
};
|
||||||
|
|
||||||
config = {
|
config = mkIf cfg.enable {
|
||||||
systemd.tmpfiles.rules = [ "d ${cfg.state-directory} 0750 root root - -" ];
|
systemd.tmpfiles.rules = [ "d ${cfg.state-directory} 0750 root root - -" ];
|
||||||
|
|
||||||
virtualisation.arion.projects.immich.settings = let
|
virtualisation.arion.projects.immich.settings = let
|
||||||
|
|||||||
Reference in New Issue
Block a user