From 2c0497d6aaba0e755bc980bb59cd5714b03be564 Mon Sep 17 00:00:00 2001 From: Natasha Moongrave Date: Sat, 4 Apr 2026 23:44:41 +0200 Subject: Simplify rice architecture - direct DE and stylix config - Each rice's system.nix now directly configures desktop environment and stylix - No complex option system needed - rices just set services directly - nord-blue: i3 + Nord colors - cassette-futurism: KDE Plasma 6 + retro cassette colors - original: i3 + default Nord colors - Removed rice-desktop.nix complexity - Display manager (ly) stays in system/services.nix (user-managed) - To use a rice: mkSystem hostname rice-name in flake.nix --- home/rices/nord-blue/system.nix | 66 +++++++++++++++++++++++++++++++++++------ 1 file changed, 57 insertions(+), 9 deletions(-) (limited to 'home/rices/nord-blue/system.nix') diff --git a/home/rices/nord-blue/system.nix b/home/rices/nord-blue/system.nix index e768559..ac7e0ab 100644 --- a/home/rices/nord-blue/system.nix +++ b/home/rices/nord-blue/system.nix @@ -1,14 +1,21 @@ {pkgs, ...}: { - # Nord-blue rice uses i3 window manager - rice.desktop = { - environment = "i3"; - wayland.enable = false; - compositor.enable = true; + # Desktop environment - i3 window manager + services.xserver = { + enable = true; + windowManager.i3.enable = true; + xkb = { + layout = "cz"; + options = "eurosign:e,caps:escape"; + }; }; - # Nord-blue uses custom colors - rice.stylix = { - overrideColors = true; + services.picom.enable = true; + + # Stylix configuration + stylix = { + enable = true; + autoEnable = true; + base16Scheme = { base00 = "2D333F"; # background base01 = "3B4252"; # lighter background @@ -27,9 +34,50 @@ base0E = "B48EAD"; # purple base0F = "5E81AC"; # dark blue }; - wallpaper = pkgs.fetchurl { + + image = pkgs.fetchurl { url = "https://raw.githubusercontent.com/NixOS/nixos-artwork/master/wallpapers/nix-wallpaper-simple-blue.png"; sha256 = "sha256-utrcjzfeJoFOpUbFY2eIUNCKy5rjLt57xIoUUssJmdI="; }; + + fonts = { + monospace = { + package = pkgs.nerd-fonts.jetbrains-mono; + name = "JetBrainsMono Nerd Font"; + }; + sansSerif = { + package = pkgs.noto-fonts; + name = "Noto Sans"; + }; + serif = { + package = pkgs.noto-fonts; + name = "Noto Serif"; + }; + emoji = { + package = pkgs.noto-fonts-color-emoji; + name = "Noto Color Emoji"; + }; + sizes = { + terminal = 10; + 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; }; } -- cgit v1.2.3