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

  home.packages = with pkgs; [
    fd
    nix-your-shell
    nurl
    rclone
    restic
    (let
      getchvim = inputs.getchvim.packages.${pkgs.stdenv.hostPlatform.system}.default;
    in
      # remove desktop file
      symlinkJoin {
        name = builtins.replaceStrings ["neovim"] ["neovim-nodesktop"] getchvim.name;
        paths = [getchvim];
        postBuild = ''
          rm -rf $out/share/{applications,icons}
        '';
      })
  ];

  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;
}