nix-config/modules/stylix.nix
2024-02-08 22:52:14 -05:00

53 lines
958 B
Nix

{ pkgs, ... }:
let
theme = "monokai";
opacity = 0.95;
font-size = 11;
in
{
stylix.image = ../assets/wallpaper.png;
stylix.polarity = "dark";
stylix.base16Scheme = "${pkgs.base16-schemes}/share/themes/${theme}.yaml";
stylix.opacity = {
terminal = opacity;
popups = opacity;
};
stylix.cursor = with pkgs; {
package = phinger-cursors;
name = "phinger-cursors";
size = 24;
};
stylix.fonts = with pkgs; {
serif = {
package = (callPackage ../packages/aleo-fonts.nix { });
name = "Aleo";
};
sansSerif = {
package = noto-fonts-cjk-sans;
name = "Noto Sans CJK JP";
};
monospace = {
package = maple-mono;
name = "Maple Mono";
};
emoji = {
package = noto-fonts-emoji;
name = "Noto Color Emoji";
};
sizes = {
applications = font-size;
desktop = font-size;
popups = font-size;
terminal = font-size;
};
};
}