Add deployment vars to hosts.

This commit is contained in:
niten 2025-05-07 12:29:04 -07:00
parent be05273ab4
commit 4ec8579399

View File

@ -92,7 +92,7 @@ in rec {
}; };
}; };
masterKeyOpts = { ... }: { masterKeyOpts = _: {
options = with types; { options = with types; {
key-path = mkOption { key-path = mkOption {
type = str; type = str;
@ -302,6 +302,16 @@ in rec {
"Path on the local filesystem to a host SSH key for initrd, if any."; "Path on the local filesystem to a host SSH key for initrd, if any.";
default = null; default = null;
}; };
deploy = {
enable = mkEnableOption "Enable deploy-rs deployments.";
sshOptions = mkOption {
type = listOf str;
description = "List of SSH options to use when deploying.";
default = [ ];
};
};
}; };
}; };
} }