about summary refs log tree commit diff
path: root/machines/default.nix
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2016-05-03 02:38:45 +0200
committeraszlig <aszlig@redmoonstudios.org>2016-05-03 02:49:50 +0200
commit49dc58c6f8d72a4e142176f25da52666ef9ae268 (patch)
treee5a624d64bfda20cdfb3a4bd6e7f01d2e2eea279 /machines/default.nix
parent1ac04e64a280ce656a7837e062d49423c138aa05 (diff)
lib/call-machine: Get rid of extraConfig attribute
Right now we're not using the system attribute at all and we can still
use nixpkgs.system to set the attribute for a particular machine.

So we now can pass configuration attributes to the second argument of
callMachine *directly* instead of using specific subattributes, which I
think feels is a more natural way so users don't need to look up that
"extraConfig" is for adding configuration values.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'machines/default.nix')
-rw-r--r--machines/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/machines/default.nix b/machines/default.nix
index 2f09ffb3..bbe03087 100644
--- a/machines/default.nix
+++ b/machines/default.nix
@@ -14,7 +14,7 @@ with import ../lib;
   };
   labnet = {
     labtops = callNetwork ./labnet/labtop.nix {
-      extraConfig.vuizvui.user.openlab.labtops.enable = true;
+      vuizvui.user.openlab.labtops.enable = true;
     };
   };
   profpatsch = {