diff options
author | aszlig <aszlig@redmoonstudios.org> | 2016-05-03 00:47:45 +0200 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2016-05-03 02:48:54 +0200 |
commit | 23a12bf4ba8cd9ac145a548cd8eb58a39b5abad8 (patch) | |
tree | 7cc35b19c782430e7b5722415246548f80ef5861 /machines/default.nix | |
parent | bdb9fab33884733d18765741db8141d7e166ae4b (diff) |
lib/call-machine: Allow to pass extra config
So far callMachine only accepted the system attribute as its sole argument, but especially if there are more machines with common attributes, it makes sense to actually call the machines with option definitions that are for example enabling a specific profile module. For example: let commonAttrs.extraConfig = { common.profile.enable = true; }; in { foo = callMachine ./foo commonAttrs; bar = callMachine ./bar commonAttrs; } Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'machines/default.nix')
0 files changed, 0 insertions, 0 deletions