From 1aef0c7a17dd8ad59e8a4c1e6126051549e2c622 Mon Sep 17 00:00:00 2001 From: gwg313 Date: Fri, 17 Apr 2026 23:49:23 -0400 Subject: [PATCH] update stylix theme --- modules/features/desktop/theme-stylix.nix | 86 ++++++++++++++++++----- 1 file changed, 67 insertions(+), 19 deletions(-) diff --git a/modules/features/desktop/theme-stylix.nix b/modules/features/desktop/theme-stylix.nix index 87e07a8..f5a4260 100644 --- a/modules/features/desktop/theme-stylix.nix +++ b/modules/features/desktop/theme-stylix.nix @@ -4,33 +4,81 @@ theme-home-stylix = { includeInEmbeddedHomeManager = false; homeModules = [ - ({ inputs, pkgs, ... }: { - imports = [ - inputs.stylix.homeModules.stylix - ]; + ( + { inputs, pkgs, ... }: + { + imports = [ + inputs.stylix.homeModules.stylix + ]; - stylix.enable = true; - stylix.base16Scheme = "${pkgs.base16-schemes}/share/themes/atelier-sulphurpool-light.yaml"; - }) + stylix = { + enable = true; + base16Scheme = builtins.fetchurl { + url = "https://raw.githubusercontent.com/scottmckendry/cyberdream.nvim/main/extras/base16/cyberdream-light.yaml"; + sha256 = "07fpphdx396wi7093dqyhvpmacnradi7xqxxcwp89x9pnwqxjvq3"; + }; + + cursor = { + name = "phinger-cursors-light"; + package = pkgs.phinger-cursors; + size = 20; + }; + + fonts = { + serif = { + package = pkgs.lmodern; + name = "Latin Modern Roman"; + }; + + sansSerif = { + package = pkgs.inter; + name = "Inter"; + }; + + monospace = { + package = pkgs.fira-code; + name = "Fire Code"; + }; + + emoji = { + package = pkgs.noto-fonts-color-emoji; + name = "Noto Color Emoji"; + }; + sizes = { + applications = 13; + desktop = 13; + popups = 13; + terminal = 13; + }; + }; + }; + } + ) ]; }; theme-system-stylix.nixosModules = [ - ({ inputs, pkgs, ... }: { - imports = [ - inputs.stylix.nixosModules.stylix - ]; + ( + { inputs, pkgs, ... }: + { + imports = [ + inputs.stylix.nixosModules.stylix + ]; - stylix = { - enable = true; - base16Scheme = "${pkgs.base16-schemes}/share/themes/atelier-sulphurpool-light.yaml"; - fonts = { - monospace = { - name = "JetBrainsMono Nerd Font"; + stylix = { + enable = true; + base16Scheme = builtins.fetchurl { + url = "https://raw.githubusercontent.com/scottmckendry/cyberdream.nvim/main/extras/base16/cyberdream-light.yaml"; + sha256 = "07fpphdx396wi7093dqyhvpmacnradi7xqxxcwp89x9pnwqxjvq3"; + }; + fonts = { + monospace = { + name = "JetBrainsMono Nerd Font"; + }; }; }; - }; - }) + } + ) ]; }; }