summaryrefslogtreecommitdiff
path: root/users/seth/programs/default.nix
blob: 0de43c04dad1db04ae05fc2e5cc6bbf08be07e88 (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
{
  pkgs,
  inputs',
  ...
}: {
  imports = [
    ./bat.nix
    ./eza.nix
    ./git.nix
    ./gpg.nix
    ./ssh.nix
    ./starship
    ./vim.nix
  ];

  home.packages = with pkgs;
    [
      fd
      nix-output-monitor
      nurl
      rclone
      restic

      (let
        getchvim = inputs'.getchvim.packages.default;
      in
        # remove desktop file
        symlinkJoin {
          name = builtins.replaceStrings ["neovim"] ["neovim-nodesktop"] getchvim.name;
          paths = [getchvim];
          postBuild = ''
            rm -rf $out/share/{applications,icons}
          '';
        })
    ]
    ++ lib.optional stdenv.isLinux inputs'.attic.packages.default;

  catppuccin.flavour = "mocha";

  programs = {
    btop = {
      enable = true;
      catppuccin.enable = true;
    };

    direnv = {
      enable = true;
      nix-direnv.enable = true;
    };

    glamour.catppuccin.enable = true;

    ripgrep.enable = true;

    nix-index-database.comma.enable = true;
  };

  xdg.enable = true;
}