20 current 2025-10-07 00:49:35 25.05.20251001.5b5be50 6.12.49 *
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user