mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
fish: fuse univ-repos into repos
This commit is contained in:
parent
8c73dfb8c5
commit
a5313616d5
3 changed files with 7 additions and 16 deletions
|
|
@ -17,20 +17,11 @@
|
|||
config = {
|
||||
|
||||
home = {
|
||||
sessionVariables = lib.attrsets.mergeAttrsList [
|
||||
(lib.mapAttrs (_: path: "${config.home.homeDirectory}/${path}") {
|
||||
REPO_PATH = "repo";
|
||||
UNIV_REPO_PATH = "univ-repo";
|
||||
PLAYGROUND_PATH = "playground";
|
||||
WORKTREE_PATH = "worktree";
|
||||
})
|
||||
|
||||
{
|
||||
TMUX_SESSIONIZER_SOURCE = ''
|
||||
fd . \$UNIV_REPO_PATH --exact-depth 2 --type d
|
||||
'';
|
||||
}
|
||||
];
|
||||
sessionVariables = lib.mapAttrs (_: path: "${config.home.homeDirectory}/${path}") {
|
||||
REPO_PATH = "repo";
|
||||
PLAYGROUND_PATH = "playground";
|
||||
WORKTREE_PATH = "worktree";
|
||||
};
|
||||
packages = [ pkgs.vivid ];
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue