about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2018-08-01 22:56:12 -0400
committerGitHub <noreply@github.com>2018-08-01 22:56:12 -0400
commiteb1afe452af8a04cfbc98ceb60acb2f92553af68 (patch)
tree56c0d4b39b36d8cd3c2a6fd11577ce0aeaf7e672
parentcbaac406235884d408cdc1f1a3ba41cb179c1e45 (diff)
parent016922f88ba9d86b611115463c45ee84f238f64e (diff)
downloadnixlib-eb1afe452af8a04cfbc98ceb60acb2f92553af68.tar
nixlib-eb1afe452af8a04cfbc98ceb60acb2f92553af68.tar.gz
nixlib-eb1afe452af8a04cfbc98ceb60acb2f92553af68.tar.bz2
nixlib-eb1afe452af8a04cfbc98ceb60acb2f92553af68.tar.lz
nixlib-eb1afe452af8a04cfbc98ceb60acb2f92553af68.tar.xz
nixlib-eb1afe452af8a04cfbc98ceb60acb2f92553af68.tar.zst
nixlib-eb1afe452af8a04cfbc98ceb60acb2f92553af68.zip
Merge pull request #44332 from jerith666/restic-s3-default
restic: add missing default for s3CredentialsFile
-rw-r--r--nixos/modules/services/backup/restic.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/backup/restic.nix b/nixos/modules/services/backup/restic.nix
index 9b31ff3b5824..6ece5a9b5ad6 100644
--- a/nixos/modules/services/backup/restic.nix
+++ b/nixos/modules/services/backup/restic.nix
@@ -18,6 +18,7 @@ with lib;
 
         s3CredentialsFile = mkOption {
           type = with types; nullOr str;
+          default = null;
           description = ''
             file containing the AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY
             for an S3-hosted repository, in the format of an EnvironmentFile