From fdf11f3cee67def7b89c81245f552c0fbc2350f2 Mon Sep 17 00:00:00 2001
From: Manuel Thalmann <m@nuth.ch>
Date: Wed, 15 May 2024 09:49:37 +0200
Subject: [PATCH] Set password settings to `null` by default

---
 lib/modules/rclone.nix | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/modules/rclone.nix b/lib/modules/rclone.nix
index c5194a3..5add9d5 100644
--- a/lib/modules/rclone.nix
+++ b/lib/modules/rclone.nix
@@ -40,11 +40,13 @@ let
       password = lib.mkOption {
         type = lib.types.nullOr lib.types.str;
         description = "The password for logging in to ${vendorName}.";
+        default = null;
       };
 
       passwordFile = lib.mkOption {
         type = lib.types.nullOr (lib.types.either lib.types.path lib.types.str);
         description = "A path to a file to read the password from for logging in to ${vendorName}.";
+        default = null;
       };
   };