From 22779977b697b3f7ed382ec855914387ec2612dc Mon Sep 17 00:00:00 2001 From: aszlig Date: Tue, 3 Apr 2018 02:47:15 +0200 Subject: machines/arilou: Use correct modulesPath Since I wrote the config for that machine, the modulesPath attribute is actually a thing in NixOS modules, so let's use that one instead. Besides, I really tend to like that even more restrictive restrictive evaluation mode, because it allows us to get rid of all those references to the Nix path. Signed-off-by: aszlig --- machines/aszlig/arilou.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'machines/aszlig/arilou.nix') diff --git a/machines/aszlig/arilou.nix b/machines/aszlig/arilou.nix index 8fbc4353..a5c24f36 100644 --- a/machines/aszlig/arilou.nix +++ b/machines/aszlig/arilou.nix @@ -1,11 +1,9 @@ -{ config, pkgs, lib, ... }: +{ config, pkgs, lib, modulesPath, ... }: 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" ]; -- cgit 1.4.1