about summary refs log tree commit diff
path: root/users/multi/whitby/depot.nix
diff options
context:
space:
mode:
authormulti <depot@in-addr.xyz>2020-09-20T20·17+0100
committermulti <depot@in-addr.xyz>2020-09-20T21·59+0000
commitf43dfd4b8e20e51300ec44cc9555cdad612b95c6 (patch)
tree3ebf5256455f34e4950ed555d12c91ac0b7b9b87 /users/multi/whitby/depot.nix
parent991bf532702cc3fab276c7898f385e0162dfb183 (diff)
feat(users/multi): refactor home manager configuration on whitby. r/1807
Previously this used git checkouts of home-manager.git and nixpkgs.git on
whitby, which is self-evidently non-reproducible, so instead use pinned
tarballs of those repositories as data sources.

Change-Id: I3bd01e44d746c62e6bfbeab2e7698ae9954c8a94
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1993
Tested-by: BuildkiteCI
Reviewed-by: multi <depot@in-addr.xyz>
Diffstat (limited to 'users/multi/whitby/depot.nix')
-rw-r--r--users/multi/whitby/depot.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/users/multi/whitby/depot.nix b/users/multi/whitby/depot.nix
new file mode 100644
index 000000000000..c0bda4d98b0d
--- /dev/null
+++ b/users/multi/whitby/depot.nix
@@ -0,0 +1,6 @@
+{ config ? throw "not a readTree target", ... }:
+
+let
+  depotPath = "/home/multi/depot";
+in
+  depotPath