about summary refs log tree commit diff
path: root/machines
diff options
context:
space:
mode:
Diffstat (limited to 'machines')
-rw-r--r--machines/aszlig/arilou.nix4
-rw-r--r--machines/labnet/labtop.nix4
2 files changed, 6 insertions, 2 deletions
diff --git a/machines/aszlig/arilou.nix b/machines/aszlig/arilou.nix
index 47664a18..882893d8 100644
--- a/machines/aszlig/arilou.nix
+++ b/machines/aszlig/arilou.nix
@@ -1,4 +1,4 @@
-{ config, pkgs, lib, modulesPath, ... }:
+{ config, pkgs, lib, ... }:
 
 with lib;
 
@@ -6,6 +6,8 @@ let
   rootUUID = "e9c95c74-e4cf-41f6-bb45-baf8dd579217";
   swapUUID = "4d172959-5cfd-4164-a46e-fa7be0dfd03a";
   diskID = "usb-Lexar_USB_Flash_Drive_201303211246293590E4-0:0";
+
+  modulesPath = "${import ../../nixpkgs-path.nix}/nixos/modules";
 in {
   vuizvui.user.aszlig.profiles.workstation.enable = true;
   imports = [ "${modulesPath}/profiles/all-hardware.nix" ];
diff --git a/machines/labnet/labtop.nix b/machines/labnet/labtop.nix
index ac11f224..542f0576 100644
--- a/machines/labnet/labtop.nix
+++ b/machines/labnet/labtop.nix
@@ -1,4 +1,4 @@
-{ pkgs, lib, modulesPath, ... }:
+{ pkgs, lib, ... }:
 
 let
   greybird = pkgs.stdenv.mkDerivation {
@@ -23,6 +23,8 @@ let
     '';
   };
 
+  modulesPath = "${import ../../nixpkgs-path.nix}/nixos/modules";
+
 in {
   imports = [ "${modulesPath}/installer/scan/not-detected.nix" ];