about summary refs log tree commit diff
path: root/machines/default.nix
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2016-04-25 01:21:37 +0200
committerProfpatsch <mail@profpatsch.de>2016-04-25 01:21:37 +0200
commit3fcbe6c5458d5866c4234695b00b500d26de0af0 (patch)
tree731c058faafe36338faf6e25f4b7906c47b48402 /machines/default.nix
parent714682873db73daaa19019a16715019db5e1d8c8 (diff)
machines/labnet: generic labtop config
Draws out the general config for all Labtops in its own module and
creates a structure to specify the setting which are different.
Diffstat (limited to 'machines/default.nix')
-rw-r--r--machines/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/machines/default.nix b/machines/default.nix
index f3cb8d60..0f972829 100644
--- a/machines/default.nix
+++ b/machines/default.nix
@@ -2,6 +2,7 @@
 
 let
   callMachine = import ../lib/call-machine.nix;
+  nixpkgs = import (import ../nixpkgs-path.nix) {};
 in {
   aszlig = {
     dnyarri   = callMachine ./aszlig/dnyarri.nix {};
@@ -15,7 +16,7 @@ in {
     };
   };
   labnet = {
-    labtop = callMachine ./labnet/labtop.nix {};
+    labtops = import ./labnet/labtop.nix { inherit (nixpkgs) lib; };
   };
   profpatsch = {
     katara = callMachine ./profpatsch/katara.nix {};