summaryrefslogtreecommitdiff
path: root/modules/apps.nix
blob: 72067d19430cbe62f4fa8237cb3013d6bc1a7fd6 (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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
{ pkgs, lib, config, inputs, ... }: {

  options.apps.enable = lib.mkOption {
    type        = lib.types.bool;
    default     = true;
    description = "enables apps";
  };

  config = lib.mkIf config.apps.enable {

    programs.firefox.enable = true;

    programs.kdeconnect.enable = true; # Opens TCP/UDP ports (does not when it's a pkg)

    environment.systemPackages = with pkgs; [
      # System
      glib-networking
      openssl
      glibcLocales
      libnotify
      wl-clipboard
      jdk
      noto-fonts

      dejavu_fonts
      font-awesome
      material-design-icons

      libratbag # Mouse software (GHUB replacement)
      piper # ^ GUI frontend

      # Utility
      gimp
      keepassxc
      protonvpn-gui
      (python312.withPackages (pypkgs: [
        pypkgs.matplotlib
        pypkgs.pandas
        pypkgs.pygithub
      ]))
      kdePackages.filelight
      kdePackages.korganizer
      kdePackages.kaddressbook
      syncthingtray
      libreoffice
      albert
      goldendict-ng # for albert dictionary feature
      aseprite
      cloudflare-warp
      haruna
      gparted
      gnome-clocks
      inputs.zen-browser.packages."${system}".twilight
      chromium # for firefox/zen issue not rendering emojis properly

      # Communication
      whatsie
      vesktop

      # Terminal
      ghostty
      nerd-fonts.jetbrains-mono
      oh-my-posh
      tmux
      neovim
      tree-sitter

      # CLI
      git
      delta
      gh
      stow
      eza
      keychain
      bc
      bat
      fd
      ripgrep
      wakatime-cli
      fastfetch
      btop
      sqlite
      unzip
      fzf
      zoxide
      watchexec
      gitleaks
      rar
      dig
      minisign
      libisoburn
      dua
      mprocs
      imagemagick
      ghostscript # for imagemagick to support pdf files
      xxd
      duf
      tldr
      bottom
      hyperfine # for benchmarking
      wget
      tectonic
      mermaid-cli
      ffmpeg
      nh
      kondo # Cleans build caches
      kopia
      kopia-ui
      appimage-run
    ];

    # VPN for Vault Hunters to avoid connection issues
    # Note, will break discord, also tried proton VPN, still has conn issues
    services.cloudflare-warp.enable = true;

    # Mouse config service (used with piper)
    services.ratbagd.enable = true;

    # Install Docker (without using root access)
    #virtualisation.docker.enable = true;
    virtualisation.docker.rootless = {
      enable = true;
      setSocketVariable = true;
    };

  };
}