diff options
| author | seth <[email protected]> | 2025-01-05 23:24:04 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-01-06 04:24:04 +0000 |
| commit | a0726ea66d1857eb2e1c9d7dfd2f10d30ac64706 (patch) | |
| tree | 585d4c7706ef52fc037419958b0af86e216a5d43 /terranix | |
| parent | 85e702efc03b04cbb0ac5b1b2ef79c21602c8ed8 (diff) | |
treewide: back to flake parts (#539)
* treewide: back to flake parts
* treewide: drop extra docs
these are kind pointless
Diffstat (limited to 'terranix')
| -rw-r--r-- | terranix/README.md | 21 | ||||
| -rw-r--r-- | terranix/default.nix | 23 |
2 files changed, 16 insertions, 28 deletions
diff --git a/terranix/README.md b/terranix/README.md deleted file mode 100644 index dd2edd0..0000000 --- a/terranix/README.md +++ /dev/null @@ -1,21 +0,0 @@ -# ./terranix/ - -## cloudflare/ - -DNS, Workers/Pages, Tunnels, etc through [Cloudflare](https://cloudflare.com/) - -## tailscale/ - -Secure, remote access via [tailscale](https://tailscale.com/) - -## cloud.nix - -[Cloud backend for OpenTofu state](https://opentofu.org/docs/language/settings/tf-cloud/) - -## vars.nix - -Shared variable definitions - -## versions.nix - -[Provider configuration](https://opentofu.org/docs/language/providers/configuration/) 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 + ]; + }; } |
