about summary refs log tree commit diff
path: root/machines/profpatsch
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2018-06-05 20:25:46 +0200
committerProfpatsch <mail@profpatsch.de>2018-06-05 20:25:46 +0200
commitc4429caf0224e928b34c8acc1c3d17e0b2a9673a (patch)
treefa56d8389d6d8c542423228e5923cb96874e534e /machines/profpatsch
parentc994b9e74a2b37dd9e9ef55565098c1e1fbce463 (diff)
machines/haku: set NIX_PATH similar to katara
Diffstat (limited to 'machines/profpatsch')
-rw-r--r--machines/profpatsch/haku.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/machines/profpatsch/haku.nix b/machines/profpatsch/haku.nix
index 30abc66e..fe4b7404 100644
--- a/machines/profpatsch/haku.nix
+++ b/machines/profpatsch/haku.nix
@@ -17,6 +17,18 @@ in
 
   config = {
 
+    # TODO abstract out
+    nix.maxJobs = 2;
+    vuizvui.modifyNixPath = false;
+    nix.nixPath = [
+      "vuizvui=/root/vuizvui"
+      "nixpkgs=/root/nixpkgs"
+      # TODO: nicer?
+      "nixos-config=${pkgs.writeText "haku-configuration.nix" ''
+        (import <vuizvui/machines>).profpatsch.haku.config
+      ''}"
+    ];
+
     system.autoUpgrade = {
       enable = true;
       channel = "https://headcounter.org/hydra/channel/custom/openlab/vuizvui/channels.machines.profpatsch.haku";