summary refs log tree commit diff
path: root/nixos
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 /nixos
parentcbaac406235884d408cdc1f1a3ba41cb179c1e45 (diff)
parent016922f88ba9d86b611115463c45ee84f238f64e (diff)
downloadnixpkgs-eb1afe452af8a04cfbc98ceb60acb2f92553af68.tar
nixpkgs-eb1afe452af8a04cfbc98ceb60acb2f92553af68.tar.gz
nixpkgs-eb1afe452af8a04cfbc98ceb60acb2f92553af68.tar.bz2
nixpkgs-eb1afe452af8a04cfbc98ceb60acb2f92553af68.tar.lz
nixpkgs-eb1afe452af8a04cfbc98ceb60acb2f92553af68.tar.xz
nixpkgs-eb1afe452af8a04cfbc98ceb60acb2f92553af68.tar.zst
nixpkgs-eb1afe452af8a04cfbc98ceb60acb2f92553af68.zip
Merge pull request #44332 from jerith666/restic-s3-default
restic: add missing default for s3CredentialsFile
Diffstat (limited to 'nixos')
-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 9b31ff3b582..6ece5a9b5ad 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