This repository has been archived on 2025-11-26. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
nixos-config/modules/home/stylix.nix
2025-07-11 18:33:02 +02:00

50 lines
1,019 B
Nix

{
config,
pkgs,
...
}: {
stylix = {
enable = true;
autoEnable = true;
base16Scheme = "${pkgs.base16-schemes}/share/themes/catppuccin-mocha.yaml";
polarity = "dark";
targets = {
librewolf.profileNames = ["pedro"];
};
fonts = {
monospace = {
package = pkgs.nerd-fonts.jetbrains-mono;
name = "JetBrainsMono Nerd Font";
};
serif = config.stylix.fonts.monospace;
sansSerif = config.stylix.fonts.monospace;
emoji = config.stylix.fonts.monospace;
};
cursor = {
package = pkgs.catppuccin-cursors.mochaDark;
name = "Catppuccin Mocha Dark";
size = 22;
};
iconTheme = {
enable = true;
package = pkgs.catppuccin-papirus-folders.override {
flavor = "mocha";
accent = "lavender";
};
light = "Papirus-Light";
dark = "Papirus-Dark";
};
opacity = {
applications = 0.65;
desktop = 1.0;
popups = 0.8;
terminal = 0.55;
};
};
}