summaryrefslogtreecommitdiff
path: root/modules/plasma.nix
blob: 76b65c51734b7607b88f34027f781e8aef1a843e (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, ... }:
{
  imports = [
    ./desktop-software.nix
    ./fonts.nix
  ];

  environment.systemPackages = with pkgs; [
    banana-cursor
    haruna
    kaidan
    kdePackages.filelight
    kdePackages.okular
    kdePackages.partitionmanager
    kdePackages.plasma-disks
    vlc
  ];

  programs.kde-pim = {
    enable = true;
    kmail = true;
    kontact = true;
    merkuro = true;
  };

  # Enable sound.
  security.rtkit.enable = true;
  services.pipewire = {
    enable = true;
    alsa.enable = true;
    pulse.enable = true;
  };

  programs.zsh.vteIntegration = true;
  programs.bash.vteIntegration = true;

  hardware.bluetooth.enable = true;

  services.displayManager.sddm = {
    enable = true;
    wayland.enable = true;
  };

  services.desktopManager.plasma6.enable = true;

  programs.ssh = {
    startAgent = true;
    enableAskPassword = true;
    extraConfig = ''
      AddKeysToAgent yes
    '';
  };
  programs.firefox.nativeMessagingHosts.packages = with pkgs.kdePackages; [
    plasma-browser-integration
  ];
}