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
|
in
|
||||||
|
|
||||||
# TODO: temp
|
# TODO: temp setup
|
||||||
lib.pipe {} [
|
lib.pipe {} [
|
||||||
(_: makeStowDir [{
|
(_: makeStowDir [{
|
||||||
stowPackage = "hello";
|
stowPackage = "scripts";
|
||||||
originalDir = pkgs.hello;
|
originalDir = pkgs.linkFarm "scripts-farm" [
|
||||||
|
{ name = "scripts/ytextr";
|
||||||
|
path = depot.users.Profpatsch.ytextr; }
|
||||||
|
];
|
||||||
}])
|
}])
|
||||||
(d: runStow {
|
(d: runStow {
|
||||||
stowDir = d;
|
stowDir = d;
|
||||||
stowPackage = "hello";
|
stowPackage = "scripts";
|
||||||
targetDir = "/home/philip/tmp/stowed";
|
targetDir = "/home/philip";
|
||||||
stowDirOriginPath = "/home/philip/tmp/stowOrigin";
|
stowDirOriginPath = "/home/philip/.local/share/nix-home/stow-origin";
|
||||||
})
|
})
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue