colmena/integration-tests/apply-local/hive.nix
2022-06-10 11:29:25 -07:00

26 lines
455 B
Nix

let
tools = import ./tools.nix {
insideVm = true;
targets = [];
prebuiltTarget = "deployer";
};
in {
meta = {
nixpkgs = tools.pkgs;
};
deployer = { lib, ... }: {
imports = [
(tools.getStandaloneConfigFor "deployer")
];
deployment = {
allowLocalDeployment = true;
};
environment.etc."deployment".text = "SUCCESS";
# /run/keys/key-text
deployment.keys."key-text".text = "SECRET";
};
}