about summary refs log tree commit diff
path: root/machines/profpatsch
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2018-04-04 21:12:21 +0200
committerProfpatsch <mail@profpatsch.de>2018-05-01 21:28:02 +0200
commit34ad186b020a057a9cec63bb7134691d07318688 (patch)
tree17927a84265a7530d6af6dc5f5e90f3935eda8fb /machines/profpatsch
parent2a22d5c54f923ece8247dd4095afeea3ed7cf7d4 (diff)
machines/katara: custom NIX_PATH
Diffstat (limited to 'machines/profpatsch')
-rw-r--r--machines/profpatsch/katara.nix11
1 files changed, 9 insertions, 2 deletions
diff --git a/machines/profpatsch/katara.nix b/machines/profpatsch/katara.nix
index 68e91981..4342cb71 100644
--- a/machines/profpatsch/katara.nix
+++ b/machines/profpatsch/katara.nix
@@ -55,8 +55,15 @@ in {
     # Nix
 
     nix.maxJobs = 4;
-    # what was this activated for?!
-    # vuizvui.enableGlobalNixpkgsConfig = true;
+    vuizvui.modifyNixPath = false;
+    nix.nixPath = [
+      "vuizvui=${myLib.philip.home}/vuizvui"
+      "nixpkgs=${myLib.philip.home}/nixpkgs"
+      # TODO: nicer?
+      "nixos-config=${pkgs.writeText "katara-configuration.nix" ''
+        (import <vuizvui/machines>).profpatsch.katara.config
+      ''}"
+    ];
 
     ##########
     # Network