Fix type for password-file

This commit is contained in:
Torjus Håkestad 2024-06-02 22:19:45 +02:00
parent 5674e35d2d
commit 80e9cd487a

View File

@ -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.";
};