aboutsummaryrefslogtreecommitdiff
path: root/programs/default.nix
blob: d7911cc97e976c2fad876cb90fc27a9fd6fa9922 (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
68
69
70
71
72
{ config
, pkgs
, theme
, self
, ...
}:

{

  imports = [
    ./atuin.nix
    ./bash.nix
    ./chromium.nix
    ./feh.nix
    ./fzf.nix
    ./git.nix
    ./htop.nix
    ./neovim.nix
    ./readline.nix
    ./rofi.nix
    ./alacritty.nix
    ./tmux.nix
    ./zathura.nix
    ./fuzzel.nix
  ];

  programs = {
    msmtp.enable = true;
    home-manager.enable = true;
    # mbsync.enable = true;
    direnv = {
      enable = true;
      enableBashIntegration = true;
      nix-direnv.enable = true;
    };
    zoxide = {
      enable = true;
      enableBashIntegration = true;
    };
    password-store = {
      enable = true;
      settings = {
        PASSWORD_STORE_DIR = ''$HOME/.password-store'';
        PASSWORD_STORE_KEY = "21532E14CF0840E438C36DED7164B95E9556624A";
        PASSWORD_STORE_CLIP_TIME = "60";
      };
    };
    nix-index = {
      enable = true;
      enableBashIntegration = true;
    };
    gpg.enable = true;
    info.enable = true;
    broot = {
      enable = true;
      enableBashIntegration = true;
      settings = {
        imports = [
          "native-16.hjson"
        ];
        verbs = [
          {
            key = "enter";
            working_dir = "{root}";
            execution = ''$EDITOR +{line} {file}'';
            leave_broot = true;
          }
        ];
      };
    };
  };
}