user/modules/zsh.nix (view raw)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | { config, pkgs, ... }:
{
home.file = {
".rm_recycle_home".text = ""; # use trash automatically in home directory
".zshenv".text = builtins.readFile ../zsh/.zshenv;
};
home.packages = with pkgs; [
fzf
ghq
] ++ (if stdenv.isDarwin
then []
else [
pkgs.git
]);
xdg.configFile.zsh = {
recursive = true;
source = ../zsh/.config/zsh;
};
}
|