summary refs log tree commit diff stats
path: root/user/modules/zsh.nix
blob: be545635d392919b84c2f0fab0247ca08e9bf814 (plain)
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;
  };
}