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:
parent
c7757c139f
commit
4bbf14f750
6 changed files with 6 additions and 15 deletions
|
|
@ -72,6 +72,7 @@
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
flake-parts.flakeModules.modules
|
flake-parts.flakeModules.modules
|
||||||
|
inputs.terranix.flakeModule
|
||||||
] ++ aspectsModule.imports
|
] ++ aspectsModule.imports
|
||||||
++ packagesModule.imports
|
++ packagesModule.imports
|
||||||
++ shellsModule.imports
|
++ shellsModule.imports
|
||||||
|
|
|
||||||
|
|
@ -3,11 +3,9 @@
|
||||||
# AWS_ACCESS_KEY_ID - Cloudflare R2 access key for state storage
|
# AWS_ACCESS_KEY_ID - Cloudflare R2 access key for state storage
|
||||||
# AWS_SECRET_ACCESS_KEY - Cloudflare R2 secret key for state storage
|
# AWS_SECRET_ACCESS_KEY - Cloudflare R2 secret key for state storage
|
||||||
|
|
||||||
{ inputs, ... }:
|
{ ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [ inputs.terranix.flakeModule ];
|
|
||||||
|
|
||||||
perSystem =
|
perSystem =
|
||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,7 @@
|
||||||
# Cloudflare kernelpanic.space configuration placeholder
|
# Cloudflare kernelpanic.space configuration placeholder
|
||||||
{ inputs, ... }:
|
{ ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [ inputs.terranix.flakeModule ];
|
|
||||||
|
|
||||||
perSystem =
|
perSystem =
|
||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -4,11 +4,9 @@
|
||||||
# AWS_ACCESS_KEY_ID - Cloudflare R2 access key for state storage
|
# AWS_ACCESS_KEY_ID - Cloudflare R2 access key for state storage
|
||||||
# AWS_SECRET_ACCESS_KEY - Cloudflare R2 secret key for state storage
|
# AWS_SECRET_ACCESS_KEY - Cloudflare R2 secret key for state storage
|
||||||
|
|
||||||
{ inputs, ... }:
|
{ ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [ inputs.terranix.flakeModule ];
|
|
||||||
|
|
||||||
perSystem =
|
perSystem =
|
||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,7 @@
|
||||||
# OCI Terminus configuration placeholder
|
# OCI Terminus configuration placeholder
|
||||||
{ inputs, ... }:
|
{ ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [ inputs.terranix.flakeModule ];
|
|
||||||
|
|
||||||
perSystem =
|
perSystem =
|
||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -8,11 +8,9 @@
|
||||||
# AWS_ACCESS_KEY_ID - Cloudflare R2 access key for state storage
|
# AWS_ACCESS_KEY_ID - Cloudflare R2 access key for state storage
|
||||||
# AWS_SECRET_ACCESS_KEY - Cloudflare R2 secret key for state storage
|
# AWS_SECRET_ACCESS_KEY - Cloudflare R2 secret key for state storage
|
||||||
|
|
||||||
{ inputs, ... }:
|
{ ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [ inputs.terranix.flakeModule ];
|
|
||||||
|
|
||||||
perSystem =
|
perSystem =
|
||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue