mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
fish: move univ-repos to a non-standard place
This commit is contained in:
parent
d49561657e
commit
8c73dfb8c5
2 changed files with 19 additions and 7 deletions
|
|
@ -17,12 +17,20 @@
|
|||
config = {
|
||||
|
||||
home = {
|
||||
sessionVariables = lib.mapAttrs (_: path: "${config.home.homeDirectory}/${path}") {
|
||||
REPO_PATH = "repo";
|
||||
UNIV_REPO_PATH = "univ-repo";
|
||||
PLAYGROUND_PATH = "playground";
|
||||
WORKTREE_PATH = "worktree";
|
||||
};
|
||||
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
|
||||
'';
|
||||
}
|
||||
];
|
||||
packages = [ pkgs.vivid ];
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue