From ac055ea652037b657111d39ad8ec6dd7d8c9a69c Mon Sep 17 00:00:00 2001 From: fruchti Date: Thu, 9 Mar 2023 16:06:02 +0100 Subject: [PATCH] Auto-upgrade: Fix nullable option types --- options/auto-upgrade.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/options/auto-upgrade.nix b/options/auto-upgrade.nix index 18e8544..6d59d18 100644 --- a/options/auto-upgrade.nix +++ b/options/auto-upgrade.nix @@ -23,14 +23,14 @@ in ''; }; gitDeploymentKeyFile = mkOption { - type = types.str or null; + type = types.nullOr types.str; default = null; description = mdDoc '' Private SSH key used for the `git pull` operation (if `gitPull` is enabled). ''; }; gitUser = mkOption { - type = types.str or null; + type = types.nullOr types.str; default = null; description = mdDoc '' User used for the `git pull` operation (if `gitPull` is enabled).