From a0726ea66d1857eb2e1c9d7dfd2f10d30ac64706 Mon Sep 17 00:00:00 2001 From: seth Date: Sun, 5 Jan 2025 23:24:04 -0500 Subject: treewide: back to flake parts (#539) * treewide: back to flake parts * treewide: drop extra docs these are kind pointless --- terranix/default.nix | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) (limited to 'terranix/default.nix') 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 + ]; + }; } -- cgit v1.2.3