terranix: import flakeModule once in flake.nix

Fixes duplicate module declaration error by importing terranix
flakeModule once at the top level instead of in each config file.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
William 2026-02-07 08:18:49 -03:00
parent c7757c139f
commit 4bbf14f750
6 changed files with 6 additions and 15 deletions

View file

@ -72,6 +72,7 @@
imports = [
flake-parts.flakeModules.modules
inputs.terranix.flakeModule
] ++ aspectsModule.imports
++ packagesModule.imports
++ shellsModule.imports

View file

@ -3,11 +3,9 @@
# AWS_ACCESS_KEY_ID - Cloudflare R2 access key for state storage
# AWS_SECRET_ACCESS_KEY - Cloudflare R2 secret key for state storage
{ inputs, ... }:
{ ... }:
{
imports = [ inputs.terranix.flakeModule ];
perSystem =
{ pkgs, ... }:
{

View file

@ -1,9 +1,7 @@
# Cloudflare kernelpanic.space configuration placeholder
{ inputs, ... }:
{ ... }:
{
imports = [ inputs.terranix.flakeModule ];
perSystem =
{ pkgs, ... }:
{

View file

@ -4,11 +4,9 @@
# AWS_ACCESS_KEY_ID - Cloudflare R2 access key for state storage
# AWS_SECRET_ACCESS_KEY - Cloudflare R2 secret key for state storage
{ inputs, ... }:
{ ... }:
{
imports = [ inputs.terranix.flakeModule ];
perSystem =
{ pkgs, ... }:
{

View file

@ -1,9 +1,7 @@
# OCI Terminus configuration placeholder
{ inputs, ... }:
{ ... }:
{
imports = [ inputs.terranix.flakeModule ];
perSystem =
{ pkgs, ... }:
{

View file

@ -8,11 +8,9 @@
# AWS_ACCESS_KEY_ID - Cloudflare R2 access key for state storage
# AWS_SECRET_ACCESS_KEY - Cloudflare R2 secret key for state storage
{ inputs, ... }:
{ ... }:
{
imports = [ inputs.terranix.flakeModule ];
perSystem =
{ pkgs, ... }:
{