summaryrefslogtreecommitdiff
path: root/modules/apps.nix
blob: b1c932e28e5124bbb7565349973a3fafa840a8b1 (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
{
  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.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

      nerd-fonts.jetbrains-mono

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

      # Utility
      protonvpn-gui
      (python312.withPackages (pypkgs: [
        pypkgs.matplotlib
        pypkgs.pandas
        pypkgs.pygithub
        pypkgs.pipx
      ]))
      kdePackages.korganizer
      kdePackages.kaddressbook
      syncthingtray
      cloudflare-warp
      gnome-clocks
      pipeline # Youtube desktop app
      kopia-ui
      rclone-ui
      binsider
      spotify
      inotify-tools
      _010editor
      warpd
      wl-kbptr
      nnd # Terminal debugger for linux
      cppcheck
      smartmontools # For ZFS monitoring apparently

      # Communication
      wasistlos # Whatsapp
      inputs.eko.packages."${system}".eko

      # CLI
      wakatime-cli
      watchexec
      rar
      dig
      minisign
      libisoburn
      mprocs
      imagemagick
      ghostscript # for imagemagick to support pdf files
      xxd
      duf
      tldr
      bottom
      tectonic
      mermaid-cli
      kondo # Cleans build caches
      kopia
      rclone
      usbutils
    ];

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

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