From d64b3e9400b578fa47f78054ce77e6c227d08764 Mon Sep 17 00:00:00 2001 From: Profpatsch Date: Sun, 9 Jan 2022 14:43:07 +0100 Subject: feat(users/Profpatsch/nix-home): set up actual home paths MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Now baba can start using it to populate config files from depot. It’s not entirely working as expected, if stow finds a symlink dir coming from a different stow, it won’t know how to split it up, so some manual intervention is required in the beginning. Change-Id: Ia2271308bf7994ea42e6d7c81c2f3fd94ddf63f3 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4838 Reviewed-by: Profpatsch Tested-by: BuildkiteCI --- users/Profpatsch/nix-home/default.nix | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'users') diff --git a/users/Profpatsch/nix-home/default.nix b/users/Profpatsch/nix-home/default.nix index 1369eb5314cc..cf9ab0d4d4ae 100644 --- a/users/Profpatsch/nix-home/default.nix +++ b/users/Profpatsch/nix-home/default.nix @@ -85,16 +85,19 @@ let in -# TODO: temp +# TODO: temp setup lib.pipe {} [ (_: makeStowDir [{ - stowPackage = "hello"; - originalDir = pkgs.hello; + stowPackage = "scripts"; + originalDir = pkgs.linkFarm "scripts-farm" [ + { name = "scripts/ytextr"; + path = depot.users.Profpatsch.ytextr; } + ]; }]) (d: runStow { stowDir = d; - stowPackage = "hello"; - targetDir = "/home/philip/tmp/stowed"; - stowDirOriginPath = "/home/philip/tmp/stowOrigin"; + stowPackage = "scripts"; + targetDir = "/home/philip"; + stowDirOriginPath = "/home/philip/.local/share/nix-home/stow-origin"; }) ] -- cgit 1.4.1