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";
|
2022-06-10 20:29:25 +02:00
|
|
|
|
|
|
|
# /run/keys/key-text
|
|
|
|
deployment.keys."key-text".text = "SECRET";
|
2021-11-22 10:52:35 +01:00
|
|
|
};
|
|
|
|
}
|