aboutsummaryrefslogtreecommitdiff
path: root/home/rices/cassette-futurism/system.nix
diff options
context:
space:
mode:
authorNatasha Moongrave <natasha@256phi.eu>2026-04-04 23:44:41 +0200
committerNatasha Moongrave <natasha@256phi.eu>2026-04-04 23:44:41 +0200
commit2c0497d6aaba0e755bc980bb59cd5714b03be564 (patch)
tree5b66e3d7720a37fb2adb61b3a654ee1660003fad /home/rices/cassette-futurism/system.nix
parent29327f37614667444761d1c2a8f71fe54fddec66 (diff)
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
Diffstat (limited to 'home/rices/cassette-futurism/system.nix')
-rw-r--r--home/rices/cassette-futurism/system.nix62
1 files changed, 42 insertions, 20 deletions
diff --git a/home/rices/cassette-futurism/system.nix b/home/rices/cassette-futurism/system.nix
index a998a2c..706844a 100644
--- a/home/rices/cassette-futurism/system.nix
+++ b/home/rices/cassette-futurism/system.nix
@@ -1,28 +1,40 @@
{pkgs, ...}: let
vars = import ./variables.nix;
in {
- # Cassette futurism rice uses KDE Plasma 6
- rice.desktop = {
- environment = "plasma";
- wayland.enable = true; # KDE Plasma 6 works best with Wayland
- compositor.enable = false; # KDE has its own compositor (KWin)
+ # Desktop environment - KDE Plasma 6
+ services.desktopManager.plasma6.enable = true;
+
+ services.xserver = {
+ enable = true;
+ xkb = {
+ layout = "cz";
+ options = "eurosign:e,caps:escape";
+ };
};
- # Cassette futurism uses custom retro colors
- rice.stylix = {
- overrideColors = true;
+ # KDE-specific packages
+ environment.systemPackages = with pkgs; [
+ kdePackages.kate
+ kdePackages.konsole
+ kdePackages.dolphin
+ kdePackages.spectacle
+ kdePackages.gwenview
+ ];
+
+ # Stylix configuration - cassette futurism
+ stylix = {
+ enable = true;
+ autoEnable = true;
+
base16Scheme = vars.base16;
- # Use fallback wallpaper (user can customize by replacing this)
- wallpaper = pkgs.fetchurl {
+ image = pkgs.fetchurl {
url = vars.wallpaperFallback;
sha256 = "sha256-zVW0KZ26u2bjEMCf/hI/0FftCge+2hHLWbx/ijKSZ6U=";
};
- # Retro fonts - VT323 for that authentic terminal look
fonts = {
monospace = {
- # Try to use VT323 if available, otherwise fallback to JetBrains Mono
package = pkgs.nerd-fonts.jetbrains-mono;
name = "JetBrainsMono Nerd Font";
};
@@ -31,8 +43,8 @@ in {
name = "Noto Sans";
};
serif = {
- package = pkgs.noto-fonts;
- name = "Noto Serif";
+ package = pkgs.nerd-fonts.jetbrains-mono;
+ name = "JetBrainsMono Nerd Font";
};
emoji = {
package = pkgs.noto-fonts-color-emoji;
@@ -44,11 +56,21 @@ in {
desktop = 11;
};
};
- };
- # Additional KDE packages for cassette futurism aesthetic
- environment.systemPackages = with pkgs; [
- # Retro terminal emulator (optional cool-retro-term for authentic CRT look)
- # cool-retro-term
- ];
+ cursor = {
+ package = pkgs.bibata-cursors;
+ name = "Bibata-Modern-Classic";
+ size = 24;
+ };
+
+ opacity = {
+ terminal = 0.90;
+ applications = 0.95;
+ desktop = 1.0;
+ popups = 0.90;
+ };
+
+ polarity = "dark";
+ targets.nixos-icons.enable = false;
+ };
}