Merge pull request #332162 from imlonghao/borgmatic/default-value

nixos/borgmatic: change the default value
This commit is contained in:
Florian 2024-08-11 15:52:24 +02:00 committed by GitHub
commit 1cc84c4999
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -26,8 +26,8 @@ let
freeformType = settingsFormat.type;
options = {
source_directories = mkOption {
type = nullOr (listOf str);
default = null;
type = listOf str;
default = [];
description = ''
List of source directories and files to backup. Globs and tildes are
expanded. Do not backslash spaces in path names.
@ -35,8 +35,8 @@ let
example = [ "/home" "/etc" "/var/log/syslog*" "/home/user/path with spaces" ];
};
repositories = mkOption {
type = nullOr (listOf repository);
default = null;
type = listOf repository;
default = [];
description = ''
A required list of local or remote repositories with paths and
optional labels (which can be used with the --repository flag to