trying stylix

This commit is contained in:
2026-03-17 08:17:15 +00:00
parent adf67439ff
commit cf8b93c984
4 changed files with 27 additions and 6 deletions
+11 -2
View File
@@ -205,7 +205,7 @@ outputs =
# Importing theme file
./generated/out_of_tree/core/theme.nix
# Import machine-specific configurations
./generated/out_of_tree/machines/traveldroid/top.nix
./generated/out_of_tree/machines/${machine}/top.nix
# Catppuccin theme module
# catppuccin.nixosModules.catppuccin
# Anchoring all the other nixes
@@ -215,6 +215,9 @@ outputs =
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.sharedModules = [
stylix.homeManagerModules.stylix
];
home-manager.extraSpecialArgs = { inherit user inputs flakeRoot; };
}
];
@@ -599,10 +602,16 @@ 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, ... }:
{
stylix = {
stylix = {
enable = true;
base16Scheme = "${flakeRoot}/assets/system/theming/stylix/catppuccin-mocha.yaml";
polarity = "dark";
targets = {
gtk.enable = true;
kde.enable = false;
gnome.enable = false;
};
};
}
#+END_SRC