summaryrefslogtreecommitdiff
path: root/darwin/home.nix
blob: 0bc3dd6d7dc044ff8c0f9e1bb2790dc6f377ab6f (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
{ config, pkgs, ... }:

{
  home.username = "shubh";
  home.homeDirectory = "/Users/shubh";

  # You should not change this value, even if you update Home Manager. If you do
  # want to update the value, then make sure to first check the Home Manager
  # release notes.
  home.stateVersion = "23.05";

  home.packages = with pkgs; [
    git
    unzip
    wget
    gnupg
    pass
    tmux
    fzf
    docker
    neovim
    lf
    pinentry_mac
    docker
    kubectl
    terraform
    kops
    k9s
    # gui
    zoom-us
    slack
  ];

  programs.home-manager.enable = true;
  programs.zsh = {
    enable = true;
    enableCompletion = true;
    #sessionVariables = {
    #  PATH = "/etc/profiles/per-user/shubh/bin:$PATH";
    #};
    shellAliases = {
      ll = "ls -l";
      v = "nvim";
      o = "xdg-open";
      t = "tmux";
    };
    oh-my-zsh = {
      enable = true;
      plugins = [ "git" "kubectl" "sudo" ];
      theme = "robbyrussell";
    };
  };
  programs.fzf = {
    enable = true;
    enableZshIntegration = true;
    defaultOptions = [ "--height 40%" "--layout=reverse" "--border" ];
  };
  programs.git = {
    enable = true;
    userEmail = "ssaini@fispan.com";
    userName = "Shubham Saini";
    signing = {
      key = "E0404DDE4BCF9DB5";
      signByDefault = true;
    };
  };
}