nix-dotfiles/home/stylix.nix

43 lines
805 B
Nix
Raw Permalink Normal View History

2024-09-17 18:14:26 +02:00
{ pkgs, lib, ... }:
{
stylix.enable = true;
stylix.image = ./assets/wallpaper.jpg;
stylix.base16Scheme = "${pkgs.base16-schemes}/share/themes/apathy.yaml";
stylix.fonts = {
monospace = {
package = pkgs.nerdfonts.override {fonts = [JetBrainsMono];};
name = JetBrainsMono Nerd Font Mono;
};
sansSerif = {
package = pkgs.dejavu_fonts;
name = DejaVu Sans;
};
serif = {
package = pkgs.dejavu_fonts;
name = DejaVu Serif;
};
};
stylix.fonts.sizes = {
applications = 16;
terminal = 12;
desktop = 12;
popups = 12;
};
stylix.opacity = {
applications = 0.9;
terminal = 0.7;
desktop = 0.9;
popups = 0.9;
};
stylix.polarity = "dark"; # “light” or “either”
}