nix/home-manager/stylix.nix

47 lines
964 B
Nix

{ breezex-cursor, system, pkgs, ... }:
{
stylix = {
enable = true;
image = ./wallpapers/suzume_door.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";
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;
};
sizes = {
desktop = 10;
popups = 10;
terminal = 10;
};
};
};
# fix cursor size for some apps
home.sessionVariables = {
XCURSOR_SIZE = 24;
};
}