about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2022-01-29T17·56-0500
committerclbot <clbot@tvl.fyi>2022-01-29T17·59+0000
commitc278dac42f34573e18fe092c5d5c0623d84dc846 (patch)
tree5a1313edbd9219ac1ae7e2076c23d5b61f92f082
parent2c4459912139fa354133abc32cfc4bac9609669b (diff)
fix(grfn/home): Set home.homeDirectory option r/3708
This avoids leaking $HOME from the environment into the build, which was
previously causing yerenHome to get rebuilt on every single depot CI
invocation.

Change-Id: Icb3c32e91186468e548c7b86b1a12bf9adef4fe9
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5118
Reviewed-by: grfn <grfn@gws.fyi>
Autosubmit: grfn <grfn@gws.fyi>
Tested-by: BuildkiteCI
-rw-r--r--users/grfn/system/home/modules/common.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/users/grfn/system/home/modules/common.nix b/users/grfn/system/home/modules/common.nix
index 86e4ba400e7c..6871cadda1cf 100644
--- a/users/grfn/system/home/modules/common.nix
+++ b/users/grfn/system/home/modules/common.nix
@@ -13,6 +13,8 @@
     ../modules/lib/cloneRepo.nix
   ];
 
+  home.homeDirectory = "/home/grfn";
+
   programs.password-store.enable = true;
 
   grfn.impure.clonedRepos.passwordStore = {