configuration.nix/system/stylix-config.nix
Jalil David Salamé Messina bf0ee5ba2b
[feat] fonts: use home-manger default fonts
This removes the need for my stylix fork (for me).
2024-05-20 14:34:44 +02:00

34 lines
688 B
Nix

{
config,
pkgs,
}: let
cfg = config.jconfig.styling;
in {
autoEnable = 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;
};
}