summaryrefslogtreecommitdiff
path: root/ext/terranix/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'ext/terranix/default.nix')
-rw-r--r--ext/terranix/default.nix43
1 files changed, 0 insertions, 43 deletions
diff --git a/ext/terranix/default.nix b/ext/terranix/default.nix
deleted file mode 100644
index 72f75ad..0000000
--- a/ext/terranix/default.nix
+++ /dev/null
@@ -1,43 +0,0 @@
-{ inputs, ... }:
-{
- perSystem =
- {
- lib,
- pkgs,
- self',
- system,
- ...
- }:
- let
- inherit (self'.packages) opentofu;
-
- terranix = inputs.terranix.lib.terranixConfiguration {
- inherit system;
- modules = [
- ./cloudflare
- ./tailscale
- ./cloud.nix
- ./vars.nix
- ./versions.nix
- ];
- };
- in
- {
- apps = {
- tf = {
- type = "app";
- program = lib.getExe (
- pkgs.writeShellScriptBin "tf" ''
- ln -sf ${terranix} config.tf.json
- exec ${lib.getExe opentofu} "$@"
- ''
- );
- };
- };
-
- packages.opentofu = pkgs.opentofu.withPlugins (plugins: [
- plugins.cloudflare
- plugins.tailscale
- ]);
- };
-}