all: use paths option

This commit is contained in:
Zynh Ludwig 2024-08-07 04:41:17 -07:00
parent 9ef497f991
commit bc5ad30c8e
3 changed files with 15 additions and 0 deletions

View file

@ -12,5 +12,11 @@ in
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
home.file.projects.source = link "${config.home.homeDirectory}/Documents/projects/"; home.file.projects.source = link "${config.home.homeDirectory}/Documents/projects/";
snowhawk.tmux.sessionizer.paths =
let folder = config.home.file.projects.target;
in [
"~/${folder}"
];
}; };
} }

View file

@ -13,5 +13,9 @@ in
"src/nixpkgs".source = inputs.nixpkgs; "src/nixpkgs".source = inputs.nixpkgs;
"src/home-manager".source = inputs.home-manager; "src/home-manager".source = inputs.home-manager;
}; };
snowhawk.tmux.sessionizer.paths = [
"~/src"
];
}; };
} }

View file

@ -22,5 +22,10 @@ in
home.sessionPath = [ home.sessionPath = [
"${config.home.homeDirectory}/.cargo/bin" "${config.home.homeDirectory}/.cargo/bin"
]; ];
snowhawk.tmux.sessionizer.paths = [
"~"
"~/.config"
];
}; };
} }