about summary refs log tree commit diff
path: root/users/multi
diff options
context:
space:
mode:
Diffstat (limited to 'users/multi')
-rw-r--r--users/multi/whitby/depot.nix6
-rw-r--r--users/multi/whitby/home-manager.nix5
2 files changed, 2 insertions, 9 deletions
diff --git a/users/multi/whitby/depot.nix b/users/multi/whitby/depot.nix
deleted file mode 100644
index c0bda4d98b..0000000000
--- a/users/multi/whitby/depot.nix
+++ /dev/null
@@ -1,6 +0,0 @@
-{ config ? throw "not a readTree target", ... }:
-
-let
-  depotPath = "/home/multi/depot";
-in
-  depotPath
diff --git a/users/multi/whitby/home-manager.nix b/users/multi/whitby/home-manager.nix
index 18deeb4b5a..c034d83f51 100644
--- a/users/multi/whitby/home-manager.nix
+++ b/users/multi/whitby/home-manager.nix
@@ -4,7 +4,6 @@ let
   depot = import <depot> {};
   pkgs = import <nixpkgs> {};
 
-  depotPath = depot.users.multi.whitby.depot;
 in
 
 {
@@ -46,8 +45,8 @@ in
   home.sessionVariables = {
     NIX_PATH =
       "nixpkgs=${depot.third_party.nixpkgsSrc}:" +
-      "depot=${depotPath}";
-    HOME_MANAGER_CONFIG = "${depotPath}/users/multi/whitby/home-manager.nix";
+      "depot=${depot.depotPath}";
+    HOME_MANAGER_CONFIG = "${depot.depotPath}/users/multi/whitby/home-manager.nix";
     EDITOR = "vim";
   };