nix/home-manager/stylix.nix

48 lines
972 B
Nix
Raw Normal View History

{ breezex-cursor, system, pkgs, ... }:
2024-07-29 12:55:08 +02:00
{
stylix = {
enable = true;
image = ./wallpapers/nixos_inspector_tan.png;
polarity = "dark";
base16Scheme = ./neovim_default_scheme.yaml;
# fix wallpaper set error when not running under kde plasma
# see https://github.com/danth/stylix/issues/340
targets.kde.enable = false;
cursor = {
package = breezex-cursor.packages.${system}.default;
name = "BreezeX-Light";
2024-08-02 16:12:03 +02:00
size = 24;
};
fonts = {
monospace = {
name = "VictorMono Nerd Font";
package = pkgs.nerdfonts;
};
sansSerif = {
name = "IBM Plex Sans";
package = pkgs.ibm-plex;
};
serif = {
name = "CMU Serif";
package = pkgs.cm_unicode;
};
2024-08-07 18:57:38 +02:00
sizes = {
desktop = 10;
popups = 10;
terminal = 10;
};
};
};
2024-08-02 16:12:03 +02:00
# fix cursor size for some apps
home.sessionVariables = {
XCURSOR_SIZE = 24;
};
2024-07-29 12:55:08 +02:00
}