48 lines
985 B
Nix
48 lines
985 B
Nix
{
|
|
config,
|
|
pkgs,
|
|
}: let
|
|
cfg = config.jconfig.styling;
|
|
nerdFontSymbols = pkgs.nerdfonts.override {fonts = ["NerdFontsSymbolsOnly"];};
|
|
fallbackSymbols = {
|
|
name = "Symbols Nerd Font";
|
|
package = nerdFontSymbols;
|
|
};
|
|
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;
|
|
}
|
|
fallbackSymbols
|
|
];
|
|
sansSerif = [
|
|
{
|
|
name = "Noto Sans";
|
|
package = pkgs.noto-fonts;
|
|
}
|
|
fallbackSymbols
|
|
];
|
|
serif = [
|
|
{
|
|
name = "Noto Serif";
|
|
package = pkgs.noto-fonts;
|
|
}
|
|
fallbackSymbols
|
|
];
|
|
emoji = {
|
|
package = pkgs.noto-fonts-emoji;
|
|
name = "Noto Color Emoji";
|
|
};
|
|
sizes.popups = 12;
|
|
};
|
|
targets.plymouth = {
|
|
logoAnimated = false;
|
|
logo = cfg.bootLogo;
|
|
};
|
|
}
|