2021-11-22 10:52:35 +01:00
|
|
|
let
|
2021-12-05 10:14:12 +01:00
|
|
|
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";
|
|
|
|
};
|
|
|
|
}
|