aboutsummaryrefslogtreecommitdiff
path: root/home/rices/cassette-futurism/system.nix
blob: 4a5baefe6c8456fe4a73a49cf6009d653f14ae42 (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
{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)
  };

  # Cassette futurism uses custom retro colors
  rice.stylix = {
    overrideColors = true;
    base16Scheme = vars.base16;

    # Try user wallpaper, fallback to NixOS mosaic
    wallpaper =
      if builtins.pathExists vars.wallpaper
      then vars.wallpaper
      else 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";
      };
      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 = 11;
        applications = 11;
        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
  ];
}