Merge pull request #332162 from imlonghao/borgmatic/default-value
nixos/borgmatic: change the default value
This commit is contained in:
commit
1cc84c4999
@ -26,8 +26,8 @@ let
|
|||||||
freeformType = settingsFormat.type;
|
freeformType = settingsFormat.type;
|
||||||
options = {
|
options = {
|
||||||
source_directories = mkOption {
|
source_directories = mkOption {
|
||||||
type = nullOr (listOf str);
|
type = listOf str;
|
||||||
default = null;
|
default = [];
|
||||||
description = ''
|
description = ''
|
||||||
List of source directories and files to backup. Globs and tildes are
|
List of source directories and files to backup. Globs and tildes are
|
||||||
expanded. Do not backslash spaces in path names.
|
expanded. Do not backslash spaces in path names.
|
||||||
@ -35,8 +35,8 @@ let
|
|||||||
example = [ "/home" "/etc" "/var/log/syslog*" "/home/user/path with spaces" ];
|
example = [ "/home" "/etc" "/var/log/syslog*" "/home/user/path with spaces" ];
|
||||||
};
|
};
|
||||||
repositories = mkOption {
|
repositories = mkOption {
|
||||||
type = nullOr (listOf repository);
|
type = listOf repository;
|
||||||
default = null;
|
default = [];
|
||||||
description = ''
|
description = ''
|
||||||
A required list of local or remote repositories with paths and
|
A required list of local or remote repositories with paths and
|
||||||
optional labels (which can be used with the --repository flag to
|
optional labels (which can be used with the --repository flag to
|
||||||
|
Loading…
Reference in New Issue
Block a user