about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatt McHenry <github@matt.mchenryfamily.org>2018-08-01 22:52:41 -0400
committerMatt McHenry <github@matt.mchenryfamily.org>2018-08-01 22:53:14 -0400
commit016922f88ba9d86b611115463c45ee84f238f64e (patch)
treeddb1d924edc759f11a699049f77e5dab12a7d14c
parentc61aad65744cbeca78504b64f4b346870e3bf2f7 (diff)
downloadnixlib-016922f88ba9d86b611115463c45ee84f238f64e.tar
nixlib-016922f88ba9d86b611115463c45ee84f238f64e.tar.gz
nixlib-016922f88ba9d86b611115463c45ee84f238f64e.tar.bz2
nixlib-016922f88ba9d86b611115463c45ee84f238f64e.tar.lz
nixlib-016922f88ba9d86b611115463c45ee84f238f64e.tar.xz
nixlib-016922f88ba9d86b611115463c45ee84f238f64e.tar.zst
nixlib-016922f88ba9d86b611115463c45ee84f238f64e.zip
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 2d14762e8685..5db0097aae26 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