move checks if targetHost/buildHost is set to cli

This commit is contained in:
Jörg Thalheim
2024-02-06 14:45:21 +01:00
parent a08aaf6f67
commit d36aea3f73
4 changed files with 13 additions and 10 deletions

View File

@@ -20,13 +20,13 @@
'';
};
deployment.buildHost = lib.mkOption {
type = lib.types.str;
type = lib.types.nullOr lib.types.str;
description = ''
the hostname of the build host where nixos-rebuild is run
'';
};
deployment.targetHost = lib.mkOption {
type = lib.types.str;
type = lib.types.nullOr lib.types.str;
description = ''
the hostname of the target host to be deployed to
'';