diff options
| author | seth <[email protected]> | 2023-04-13 19:59:16 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2023-04-13 19:59:40 -0400 |
| commit | 930afc5942e3839e7e444e73582498c7b443f7e6 (patch) | |
| tree | 07b0ec190d624b375c2ed37650d6c9f4b38d3cbc /util | |
| parent | 9d1fb1179969743f7ab37fb060b0cfd315e43cc7 (diff) | |
add optional specialArgs to mkHost
Diffstat (limited to 'util')
| -rw-r--r-- | util/host.nix | 4 |
1 files changed, 4 insertions, 0 deletions
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 {}; }); } |
