aboutsummaryrefslogtreecommitdiff
path: root/home/mun/programs/zsh.nix
blob: 26756aedb70ea9e6ec6e6c7b7557917574c5790d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{...}: {
  programs.zsh = {
    enable = true;
    syntaxHighlighting.enable = true;

    shellAliases = {
      ll = "ls -l";
      rebuild = "sudo nixos-rebuild switch";
      edit = "sudo vi /etc/nixos/configuration.nix";
    };

    history.size = 10000;

    oh-my-zsh = {
      enable = true;
      plugins = ["git"];
      theme = "simple";
    };

    initContent = ''
      fastfetch --config examples/9.jsonc
    '';
  };
}