From 2631dc907e68d01b9c8bcfb0b26ceaecc35771c9 Mon Sep 17 00:00:00 2001 From: rope Date: Mon, 10 Aug 2026 09:39:53 +0100 Subject: [PATCH] kayla: drop Discover for Bazaar+flatpak, pin Breeze Dark palette, unmanage Chrome --- hosts/FredOS-Kayla.nix | 41 ++++++++++++++++++++++++++++++++++++++--- 1 file changed, 38 insertions(+), 3 deletions(-) diff --git a/hosts/FredOS-Kayla.nix b/hosts/FredOS-Kayla.nix index bf91e6b..df6e6bd 100644 --- a/hosts/FredOS-Kayla.nix +++ b/hosts/FredOS-Kayla.nix @@ -11,15 +11,50 @@ }; services.desktopManager.plasma6.enable = true; - # Dark mode: stylix (imported for every host by mkHost, polarity = "dark", - # autoEnable = true) drives its `kde` target off the HM user below, which - # writes kdeglobals + the Breeze colour scheme. No manual Plasma theming. + # Discover is a package manager for a machine that has one already, and it + # can't install anything here. Bazaar + Flatpak covers "I want an app". + environment.plasma6.excludePackages = [ pkgs.kdePackages.discover ]; + services.flatpak.enable = true; + + # Dark mode: stylix's `kde` target writes kdeglobals for the HM users below. + # The palette is pinned to Breeze Dark rather than left to derive itself + # from walls/wallpaper.png — otherwise her whole desktop re-colours every + # time *my* wallpaper changes. Fixed values, and they're the ones KDE's own + # apps ship with, so Plasma looks like stock Plasma. + stylix.base16Scheme = { + scheme = "Breeze Dark"; + author = "KDE"; + base00 = "232629"; # view background + base01 = "2a2e32"; + base02 = "31363b"; # window background / raised surface + base03 = "4d5157"; # borders, disabled + base04 = "7f8c8d"; # inactive text + base05 = "eff0f1"; # normal text + base06 = "fcfcfc"; + base07 = "ffffff"; + base08 = "da4453"; # red + base09 = "f67400"; # orange + base0A = "fdbc4b"; # yellow + base0B = "27ae60"; # green + base0C = "1abc9c"; # cyan + base0D = "3daee9"; # blue — Breeze's accent + base0E = "9b59b6"; # purple + base0F = "8e44ad"; # base16's "brown" slot; Breeze has no brown + }; + + # Stylix's chromium target is a *managed policy* (BrowserThemeColor written + # to /etc/opt/chrome/policies), which is what makes Chrome say "your + # administrator has set a default theme" and greys out the appearance + # controls — including "use system title bar and borders". Off, so Chrome + # is hers to configure. + stylix.targets.chromium.enable = false; environment.systemPackages = with pkgs; [ google-chrome spotify vesktop faugus-launcher + bazaar mangohud gamescope ];