about summary refs log tree commit diff
path: root/machines/aszlig/arilou.nix
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2015-04-29 06:24:40 +0200
committeraszlig <aszlig@redmoonstudios.org>2015-04-29 06:24:40 +0200
commit23a7bc6a7590ebced5828e09c09d6e7a39188d74 (patch)
tree5e14ae67b83b02df5ef6243e9e99830c24c756d5 /machines/aszlig/arilou.nix
parent4d1787da3fa6bacc8a187fad8a01414011ea1f34 (diff)
Handle all <nixpkgs> paths with nixpkgs-path.nix.
This file is just defaulting to <nixpkgs>, but we're going to substitue
it by the channel generator. We also need to make sure that we don't
have any other references to <nixpkgs>, but the latter can best be done
on Hydra's side if we don't make <nixpkgs> available to vuizvui builds.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'machines/aszlig/arilou.nix')
-rw-r--r--machines/aszlig/arilou.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/machines/aszlig/arilou.nix b/machines/aszlig/arilou.nix
index 96edf39c..47664a18 100644
--- a/machines/aszlig/arilou.nix
+++ b/machines/aszlig/arilou.nix
@@ -1,4 +1,4 @@
-{ config, pkgs, lib, ... }:
+{ config, pkgs, lib, modulesPath, ... }:
 
 with lib;
 
@@ -8,7 +8,7 @@ let
   diskID = "usb-Lexar_USB_Flash_Drive_201303211246293590E4-0:0";
 in {
   vuizvui.user.aszlig.profiles.workstation.enable = true;
-  imports = [ <nixpkgs/nixos/modules/profiles/all-hardware.nix> ];
+  imports = [ "${modulesPath}/profiles/all-hardware.nix" ];
 
   boot = {
     kernelPackages = pkgs.linuxPackages_latest;