Merge pull request 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; 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