colmena/integration-tests/apply-local/hive.nix

27 lines
455 B
Nix
Raw Normal View History

2021-11-22 10:52:35 +01:00
let
tools = import ./tools.nix {
insideVm = true;
targets = [];
prebuiltTarget = "deployer";
};
2021-11-22 10:52:35 +01:00
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";
2021-11-22 10:52:35 +01:00
};
}