Use stylix and refactor related things

This commit is contained in:
Pedro Rey Anca 2025-06-09 18:49:44 +02:00
parent f173a43c72
commit 96dc27ff50
Signed by: peprolinbot
GPG key ID: 053EA6E00116533A
19 changed files with 600 additions and 397 deletions

56
modules/home/stylix.nix Normal file
View file

@ -0,0 +1,56 @@
{
inputs,
config,
pkgs,
...
}: {
imports = [inputs.stylix.homeModules.stylix];
stylix = {
enable = true;
base16Scheme = "${pkgs.base16-schemes}/share/themes/catppuccin-mocha.yaml";
targets = {
librewolf.profileNames = ["pedro"];
};
fonts = {
serif = config.stylix.fonts.monospace;
sansSerif = config.stylix.fonts.monospace;
monospace = {
package = pkgs.nerd-fonts.jetbrains-mono;
name = "JetBrainsMono Nerd Font";
};
emoji = {
package = pkgs.noto-fonts-emoji;
name = "Noto Color Emoji";
};
};
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;
};
polarity = "dark";
};
}