Files
lavitz/modules/stylix.nix
2026-01-22 12:26:35 -07:00

61 lines
1.2 KiB
Nix

{ config, pkgs, inputs, ... }:
{
stylix = {
enable = true;
# Set the wallpaper
image = ../assets/wallpapers/unicat.png;
# Set the color scheme (dark mode)
polarity = "dark";
# Optionally force a specific scheme instead of generating from image
# base16Scheme = "${pkgs.base16-schemes}/share/themes/catppuccin-mocha.yaml";
cursor = {
package = pkgs.bibata-cursors;
name = "Bibata-Modern-Ice";
size = 24;
};
fonts = {
monospace = {
package = pkgs.nerd-fonts.jetbrains-mono;
name = "JetBrainsMono Nerd Font Mono";
};
sansSerif = {
package = pkgs.dejavu_fonts;
name = "DejaVu Sans";
};
serif = {
package = pkgs.dejavu_fonts;
name = "DejaVu Serif";
};
sizes = {
applications = 12;
terminal = 15;
desktop = 10;
popups = 10;
};
};
# Opacity for various applications
opacity = {
applications = 1.0;
terminal = 0.95;
desktop = 1.0;
popups = 1.0;
};
# Configure which targets Stylix should manage
targets = {
console.enable = true;
gnome.enable = true;
gtk.enable = true;
nixos-icons.enable = true;
};
};
}