aboutsummaryrefslogtreecommitdiff
path: root/home/rices/plasma6/system.nix
blob: f195684f65bf94851cc4e756601e1f30815a8ad7 (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
{pkgs, ...}: let
  vars = import ./variables.nix;
in {
  # Enable Plasma 6 desktop (ly display manager is enabled in system/services.nix)
  services.desktopManager.plasma6.enable = true;

  # X11 configuration
  services.xserver = {
    enable = true;
    xkb = {
      layout = "cz";
      options = "eurosign:e,caps:escape";
    };
  };

  # Exclude unwanted KDE packages
  environment.plasma6.excludePackages = with pkgs.kdePackages; [
    elisa # Music player
    kdepim-runtime # Akonadi agents
    kmahjongg
    kmines
    konversation # IRC client
    kpat # Solitaire
    ksudoku
    ktorrent
  ];

  # KDE utilities and system packages
  environment.systemPackages = with pkgs; [
    # KDE Utilities
    kdePackages.kcalc # Calculator
    kdePackages.kcharselect # Character map
    kdePackages.kclock # Clock app
    kdePackages.kcolorchooser # Color picker
    kdePackages.ksystemlog # System log viewer
    kdiff3 # File/directory comparison tool

    # Hardware/System Utilities
    kdePackages.isoimagewriter # Write hybrid ISOs to USB
    kdePackages.partitionmanager # Disk and partition management
    hardinfo2 # System benchmarks and hardware info
    wayland-utils # Wayland diagnostic tools
    wl-clipboard # Wayland copy/paste support
  ];

  # Stylix theming
  stylix = {
    enable = true;
    autoEnable = true;
    base16Scheme = "${pkgs.base16-schemes}/share/themes/espresso.yaml";
    image = vars.image;

    fonts = {
      monospace = {
        package = pkgs.dejavu_fonts;
        name = "DejaVu Sans Mono";
      };
      sansSerif = {
        package = pkgs.dejavu_fonts;
        name = "DejaVu Sans";
      };
      serif = {
        package = pkgs.dejavu_fonts;
        name = "DejaVu Serif";
      };
      emoji = {
        package = pkgs.noto-fonts-color-emoji;
        name = "Noto Color Emoji";
      };
      sizes = {
        terminal = 11;
        applications = 11;
        desktop = 11;
      };
    };

    cursor = {
      package = pkgs.bibata-cursors;
      name = "Bibata-Modern-Classic";
      size = 24;
    };

    opacity = {
      terminal = 0.95;
      applications = 1.0;
      desktop = 1.0;
      popups = 0.95;
    };

    polarity = "dark";
    targets.nixos-icons.enable = false;
  };
}