summaryrefslogtreecommitdiff
path: root/terranix/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'terranix/default.nix')
-rw-r--r--terranix/default.nix23
1 files changed, 16 insertions, 7 deletions
diff --git a/terranix/default.nix b/terranix/default.nix
index d7c7778..3c95844 100644
--- a/terranix/default.nix
+++ b/terranix/default.nix
@@ -1,9 +1,18 @@
{
- imports = [
- ./cloudflare
- ./tailscale
- ./cloud.nix
- ./vars.nix
- ./versions.nix
- ];
+ terranix = {
+ package =
+ pkgs:
+ pkgs.opentofu.withPlugins (plugins: [
+ plugins.cloudflare
+ plugins.tailscale
+ ]);
+
+ modules = [
+ ./cloudflare
+ ./tailscale
+ ./cloud.nix
+ ./vars.nix
+ ./versions.nix
+ ];
+ };
}