about summary refs log tree commit diff
path: root/users/multi/home
diff options
context:
space:
mode:
Diffstat (limited to 'users/multi/home')
-rw-r--r--users/multi/home/configs/whitby.nix2
-rw-r--r--users/multi/home/home-manager.nix10
2 files changed, 11 insertions, 1 deletions
diff --git a/users/multi/home/configs/whitby.nix b/users/multi/home/configs/whitby.nix
index 665c11bb878e..bd647cf604b5 100644
--- a/users/multi/home/configs/whitby.nix
+++ b/users/multi/home/configs/whitby.nix
@@ -44,7 +44,7 @@ in
     NIX_PATH =
       "nixpkgs=${pkgs.nixpkgsSrc}:" +
       "depot=${depot.depotPath}";
-    HOME_MANAGER_CONFIG = "${depot.depotPath}/users/multi/whitby/home-manager.nix";
+    HOME_MANAGER_CONFIG = "${depot.depotPath}/users/multi/home/home-manager.nix";
     EDITOR = "vim";
   };
 
diff --git a/users/multi/home/home-manager.nix b/users/multi/home/home-manager.nix
new file mode 100644
index 000000000000..a93a541a0840
--- /dev/null
+++ b/users/multi/home/home-manager.nix
@@ -0,0 +1,10 @@
+let
+  depot = import <depot> {};
+  pkgs = depot.third_party;
+
+  home = path: import path { inherit depot pkgs; };
+in
+  {
+    whitby = home ./configs/whitby.nix;
+  }
+