fix: globals evaluation pinned to static arch

This commit is contained in:
Leon Schwarzäugl 2025-12-19 17:41:34 +01:00 committed by Leon Schwarzäugl
parent 272413627d
commit 517017f0d6
2 changed files with 24 additions and 13 deletions

View file

@ -11,7 +11,8 @@
specialArgs = {
inherit inputs outputs self minimal homeLib configName arch;
inherit (config.pkgs.${arch}) lib;
inherit (config) globals nodes;
inherit (config) nodes;
globals = config.globals.${arch};
type = "nixos";
};
modules = [
@ -68,7 +69,8 @@
inputs.nix-darwin.lib.darwinSystem {
specialArgs = {
inherit inputs lib outputs self minimal configName;
inherit (config) globals nodes;
inherit (config) nodes;
globals = config.globals.${arch};
};
modules = [
# inputs.disko.nixosModules.disko
@ -103,7 +105,8 @@
inherit pkgs;
extraSpecialArgs = {
inherit inputs lib outputs self configName arch type;
inherit (config) globals nodes;
inherit (config) nodes;
globals = config.globals.${arch};
minimal = false;
};
modules = [