terranix: convert to self-contained flake-parts modules

Each terranix configuration now exports its own flake output as a
self-contained module. Flattened directory structure and removed
centralized terranixConfigurations.nix in favor of import-tree.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
William 2026-02-07 08:16:58 -03:00
parent f8478a75eb
commit c7757c139f
12 changed files with 488 additions and 423 deletions

19
terranix/terminus.nix Normal file
View file

@ -0,0 +1,19 @@
# OCI Terminus configuration placeholder
{ inputs, ... }:
{
imports = [ inputs.terranix.flakeModule ];
perSystem =
{ pkgs, ... }:
{
terranix.terranixConfigurations.oci-terminus = {
terraformWrapper.package = pkgs.opentofu;
modules = [
({ config, ... }: {
# Terraform config goes here
})
];
};
};
}