configuration.nix/system/stylix-config.nix
2024-05-26 18:12:08 +02:00

34 lines
685 B
Nix

{
config,
pkgs,
}: let
cfg = config.jconfig.styling;
in {
inherit (cfg) enable;
image = cfg.wallpaper;
base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-hard.yaml";
polarity = "dark";
fonts = {
monospace = {
name = "JetBrains Mono";
package = pkgs.jetbrains-mono;
};
sansSerif = {
name = "Noto Sans";
package = pkgs.noto-fonts;
};
serif = {
name = "Noto Serif";
package = pkgs.noto-fonts;
};
emoji = {
package = pkgs.noto-fonts-emoji;
name = "Noto Color Emoji";
};
sizes.popups = 12;
};
targets.plymouth = {
logoAnimated = false;
logo = cfg.bootLogo;
};
}