diff options
| author | seth <[email protected]> | 2023-12-27 04:49:26 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2023-12-27 05:09:07 -0500 |
| commit | 773d59f2606c924de218d8d5bdfadcc875084047 (patch) | |
| tree | 10bd52f58715adb47dcf87993885d2b3989d85c5 /tf/default.nix | |
| parent | 6f2a3fc6e3e20e719a4d570d883d64023db00653 (diff) | |
terranix: better handle deployments
Diffstat (limited to 'tf/default.nix')
| -rw-r--r-- | tf/default.nix | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/tf/default.nix b/tf/default.nix deleted file mode 100644 index 0112339..0000000 --- a/tf/default.nix +++ /dev/null @@ -1,33 +0,0 @@ -{inputs, ...}: { - perSystem = { - lib, - pkgs, - system, - ... - }: let - tfConfig = inputs.terranix.lib.terranixConfiguration { - inherit system; - modules = [ - ./cloudflare - ./tailscale - ./cloud.nix - ./vars.nix - ./versions.nix - ]; - }; - in { - apps.gen-tf = { - type = "app"; - - program = pkgs.writeShellApplication { - name = "gen-tf"; - - text = '' - config_file="config.tf.json" - [ -e "$config_file" ] && rm -f "$config_file" - cp ${tfConfig} "$config_file" - ''; - }; - }; - }; -} |
