Auto-upgrade: Fix nullable option types

This commit is contained in:
fruchti 2023-03-09 16:06:02 +01:00
parent 7304bba68b
commit ac055ea652

View file

@ -23,14 +23,14 @@ in
''; '';
}; };
gitDeploymentKeyFile = mkOption { gitDeploymentKeyFile = mkOption {
type = types.str or null; type = types.nullOr types.str;
default = null; default = null;
description = mdDoc '' description = mdDoc ''
Private SSH key used for the `git pull` operation (if `gitPull` is enabled). Private SSH key used for the `git pull` operation (if `gitPull` is enabled).
''; '';
}; };
gitUser = mkOption { gitUser = mkOption {
type = types.str or null; type = types.nullOr types.str;
default = null; default = null;
description = mdDoc '' description = mdDoc ''
User used for the `git pull` operation (if `gitPull` is enabled). User used for the `git pull` operation (if `gitPull` is enabled).