20 current 2025-10-07 00:49:35 25.05.20251001.5b5be50 6.12.49 *

This commit is contained in:
2025-10-07 14:05:46 -05:00
parent 1bd810cfd1
commit 0e116c587b
5 changed files with 17 additions and 67 deletions

View File

@@ -17,6 +17,10 @@ in
description = "set port for <service_name> (default: ${toString default_port}";
};
backup = lib.mkOption {
type = lib.types.bool;
default = true;
};
};
config = lib.mkIf cfg.enable {
@@ -65,6 +69,6 @@ in
};
# add to backups
modules.system.backups.paths = lib.mkIf cfg.backups [ data_dir ];
modules.system.backups.paths = lib.mkIf cfg.backup [ data_dir ];
};
}