trying stylix

This commit is contained in:
2026-03-16 22:03:59 +00:00
parent a42bea5422
commit 91030d1e70
3 changed files with 8 additions and 46 deletions
+4 -23
View File
@@ -200,7 +200,7 @@ outputs =
modules = [
# theming engine
stylix.nixosModules.stylix
# Importing Catppuccino mocha
# Importing theme file
./generated/out_of_tree/core/theme.nix
# Import machine-specific configurations
./generated/out_of_tree/machines/traveldroid/top.nix
@@ -621,31 +621,12 @@ You'll notice the color values in multiple places outside this as well.
#+BEGIN_SRC nix :tangle generated/out_of_tree/core/theme.nix :noweb tangle :mkdirp yes :eval never-html
{ pkgs, flakeRoot, ... }:
let
catppuccin-mocha = pkgs.runCommand "catppuccin-mocha-theme" {} ''
mkdir -p $out/share/themes
ln -s ${flakeRoot}/assets/hyprland/themes/Catppuccin-Mocha-Standard-Blue-Dark $out/share/themes/
'';
in
{
environment.systemPackages = [
catppuccin-mocha
];
environment.sessionVariables = {
GTK_THEME = "Catppuccin-Mocha-Standard-Blue-Dark";
GTK_ICON_THEME = "Papirus-Dark";
GTK_ENABLE_DARK_MODE = "1";
};
catppuccin = {
programs.stylix = {
enable = true;
flavor = "mocha";
accent = "blue";
gtk = {
icon.enable = true;
settings = {
theme = "${flakeRoot}/assets/system/theming/stylix/catppuccin-mocha.yaml";
};
cursors.enable = true;
};
}
#+END_SRC