rename deployment to deployment-type, disambiguating from environments' deployment

This commit is contained in:
Kiara Grouwstra 2025-08-25 18:12:35 +02:00
parent 1d4c40de8a
commit 0a8b357051
Signed by: kiara
SSH key fingerprint: SHA256:COspvLoLJ5WC5rFb9ZDe5urVCkK4LJZOsjfF4duRJFU

View file

@ -63,7 +63,7 @@ let
};
};
};
deployment = attrTag {
deployment-type = attrTag {
ssh-host = mkOption {
description = "A Terraform deployment by SSH to update a single existing NixOS host.";
type = submodule {
@ -186,7 +186,7 @@ in
readOnly = true;
default = {
input-type = application-resources;
output-type = deployment;
output-type = deployment-type;
implementation = environment.config.implementation;
};
};
@ -196,7 +196,7 @@ in
readOnly = true;
default = {
input-type = config.configuration;
output-type = nixops4Deployment;
output-type = deployment-type;
implementation =
cfg:
# TODO: check cfg.enable.true