diff options
author | aszlig <aszlig@nix.build> | 2018-04-03 02:47:15 +0200 |
---|---|---|
committer | aszlig <aszlig@nix.build> | 2018-04-03 02:47:15 +0200 |
commit | 22779977b697b3f7ed382ec855914387ec2612dc (patch) | |
tree | fe0f9afd8606e8f8814e3fbf919cf529cc81ba7d /machines | |
parent | 8de4298b5c39ef177cdf33975cccd09c9ea2899c (diff) |
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 <aszlig@nix.build>
Diffstat (limited to 'machines')
-rw-r--r-- | machines/aszlig/arilou.nix | 4 |
1 files changed, 1 insertions, 3 deletions
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" ]; |