feat(users/Profpatsch/nix-home): set up actual home paths
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 <mail@profpatsch.de> Tested-by: BuildkiteCI
This commit is contained in:
parent
71fe30a87c
commit
d64b3e9400
1 changed files with 9 additions and 6 deletions
|
@ -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";
|
||||
})
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue