From 930afc5942e3839e7e444e73582498c7b443f7e6 Mon Sep 17 00:00:00 2001 From: seth Date: Thu, 13 Apr 2023 19:59:16 -0400 Subject: add optional specialArgs to mkHost --- util/host.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'util') diff --git a/util/host.nix b/util/host.nix index bfaa66e..a8af69f 100644 --- a/util/host.nix +++ b/util/host.nix @@ -40,5 +40,9 @@ mkHost { inherit name; inherit (hosts.${name}) modules system stateVersion pkgs; + specialArgs = + if builtins.hasAttr "specialArgs" hosts.${name} + then hosts.${name}.specialArgs + else {}; }); } -- cgit v1.2.3