From 80e9cd487a3c1c0b43e276ed1a4643e47e555a7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torjus=20H=C3=A5kestad?= Date: Sun, 2 Jun 2024 22:19:45 +0200 Subject: [PATCH] Fix type for password-file --- backup.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backup.nix b/backup.nix index f29dea3..7e95b6a 100644 --- a/backup.nix +++ b/backup.nix @@ -34,7 +34,7 @@ in description = "Schedule for backups. Needs to be valid systemd OnCalendar value."; }; password-file = lib.mkOption { - type = lib.types.str; + type = lib.types.nullOr lib.types.str; default = null; description = "File containing the restic password."; };