Add deployment vars to hosts.
This commit is contained in:
parent
be05273ab4
commit
4ec8579399
@ -92,7 +92,7 @@ in rec {
|
||||
};
|
||||
};
|
||||
|
||||
masterKeyOpts = { ... }: {
|
||||
masterKeyOpts = _: {
|
||||
options = with types; {
|
||||
key-path = mkOption {
|
||||
type = str;
|
||||
@ -302,6 +302,16 @@ in rec {
|
||||
"Path on the local filesystem to a host SSH key for initrd, if any.";
|
||||
default = null;
|
||||
};
|
||||
|
||||
deploy = {
|
||||
enable = mkEnableOption "Enable deploy-rs deployments.";
|
||||
|
||||
sshOptions = mkOption {
|
||||
type = listOf str;
|
||||
description = "List of SSH options to use when deploying.";
|
||||
default = [ ];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user