From bc5e1ec464b21f082d9e38c476c7bf9337754804 Mon Sep 17 00:00:00 2001 From: _cry64 Date: Fri, 13 Feb 2026 02:35:35 +1000 Subject: [PATCH] duplicate node opts to nexus --- cerulean/nexus/nexus.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/cerulean/nexus/nexus.nix b/cerulean/nexus/nexus.nix index 12ad933..116b8ce 100644 --- a/cerulean/nexus/nexus.nix +++ b/cerulean/nexus/nexus.nix @@ -57,6 +57,8 @@ overlays = []; extraModules = []; specialArgs = Terminal {}; + # XXX: WARNING: extraPkgConfig is a terrible solution (but im lazy for now) + extraPkgConfig = Terminal {}; groups = Terminal {}; nodes = Terminal {}; @@ -200,7 +202,8 @@ in { in [../nixos-module host] ++ groups - ++ node.extraModules; + ++ node.extraModules + ++ nexus.extraModules; # nix passes these to every single module specialArgs = let @@ -217,9 +220,11 @@ in { ++ node.overlays ++ importOverlays root; } - // node.extraPkgConfig; + // nexus.extraPkgConfig # TODO: import + // node.extraPkgConfig; # TODO: import in - node.specialArgs + nexus.specialArgs + // node.specialArgs // { inherit root; pkgs = import nixpkgs pkgConfig;