summaryrefslogtreecommitdiff
path: root/modules/apps.nix
blob: 246211282e7b708dfe0eddbf5b923f4552f4cbdc (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
{
  pkgs,
  lib,
  config,
  ...
}:
{

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

      nerd-fonts.jetbrains-mono

      pipeline # Youtube desktop app

      # Utility
      protonvpn-gui
      cloudflare-warp

      kdePackages.korganizer
      kdePackages.kaddressbook

      syncthingtray

      gnome-clocks

      spotify
    ];

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