diff options
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" - ''; - }; - }; - }; -} |
