diff options
Diffstat (limited to 'ext/terranix/default.nix')
| -rw-r--r-- | ext/terranix/default.nix | 41 |
1 files changed, 20 insertions, 21 deletions
diff --git a/ext/terranix/default.nix b/ext/terranix/default.nix index c70d4d8..44ede51 100644 --- a/ext/terranix/default.nix +++ b/ext/terranix/default.nix @@ -1,25 +1,24 @@ -{inputs, ...}: { - perSystem = { - pkgs, - system, - ... - }: { - packages = { - opentofu = pkgs.opentofu.withPlugins (plugins: [ - plugins.cloudflare - plugins.tailscale - ]); +{ inputs, ... }: +{ + perSystem = + { pkgs, system, ... }: + { + packages = { + opentofu = pkgs.opentofu.withPlugins (plugins: [ + plugins.cloudflare + plugins.tailscale + ]); - terranix = inputs.terranix.lib.terranixConfiguration { - inherit system; - modules = [ - ./cloudflare - ./tailscale - ./cloud.nix - ./vars.nix - ./versions.nix - ]; + terranix = inputs.terranix.lib.terranixConfiguration { + inherit system; + modules = [ + ./cloudflare + ./tailscale + ./cloud.nix + ./vars.nix + ./versions.nix + ]; + }; }; }; - }; } |
