aboutsummaryrefslogtreecommitdiff
path: root/home/rices/plasma6/system.nix
diff options
context:
space:
mode:
authorNatasha Moongrave <natasha@256phi.eu>2026-04-07 12:00:25 +0200
committerNatasha Moongrave <natasha@256phi.eu>2026-04-07 12:00:25 +0200
commit93f36fd65cd65ea0b15f1add21cbb0a212d276d8 (patch)
tree312b8164fca506884d3a31ca809e4cf82b96c491 /home/rices/plasma6/system.nix
parentb36a8271ad7e52d2ecfcf93ce98ce238c833f4a3 (diff)
Restructured rice system to separate system and home-manager configs
Each rice now exports {system, home} with: - system.nix: NixOS-level configs (DE, services, packages, stylix) - home.nix: Home-manager configs (program dotfiles) - default.nix: Exports both modules Applied to: nord-blue, original, plasma6 For plasma6: merged plasma.nix and stylix.nix into system.nix
Diffstat (limited to 'home/rices/plasma6/system.nix')
-rw-r--r--home/rices/plasma6/system.nix93
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;
+ };
+}