diff options
| author | Natasha Moongrave <natasha@256phi.eu> | 2026-04-07 12:05:17 +0200 |
|---|---|---|
| committer | Natasha Moongrave <natasha@256phi.eu> | 2026-04-07 12:05:17 +0200 |
| commit | 31f8b7a3475cfe6f6c98aac0835477c5190f1d8e (patch) | |
| tree | 55a4c93f4df6ea7bca8a51ffafb2eb6dc4359b80 /home/rices/plasma6/system.nix | |
| parent | b36a8271ad7e52d2ecfcf93ce98ce238c833f4a3 (diff) | |
| parent | eaf2ae5fbcbdfecb7d07aa1067b2e55209fcd411 (diff) | |
Merge branch 'refactor-rice-system'
Diffstat (limited to 'home/rices/plasma6/system.nix')
| -rw-r--r-- | home/rices/plasma6/system.nix | 93 |
1 files changed, 93 insertions, 0 deletions
diff --git a/home/rices/plasma6/system.nix b/home/rices/plasma6/system.nix new file mode 100644 index 0000000..f195684 --- /dev/null +++ b/home/rices/plasma6/system.nix @@ -0,0 +1,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; + }; +} |
