tmux-sessionizer: configure paths
This commit is contained in:
parent
451a624b76
commit
491aeb0c7e
2 changed files with 28 additions and 13 deletions
15
modules2/hosts/PW05CH3L/tmux-sessionizer.nix
Normal file
15
modules2/hosts/PW05CH3L/tmux-sessionizer.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{ config, ... }:
|
||||
|
||||
{
|
||||
flake.modules.nixos."hosts/PW05CH3L".home-manager.users.${config.flake.meta.owner.username} =
|
||||
args: {
|
||||
programs.tmux-sessionizer.searchPaths =
|
||||
let
|
||||
inherit (args.config.xdg) userDirs;
|
||||
in
|
||||
[
|
||||
"${userDirs.extraConfig.XDG_REPOS_DIR}:3"
|
||||
"${userDirs.documents}:1"
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue