2024-01-15 12:42:01 +01:00
|
|
|
{ config, pkgs }:
|
2024-01-14 17:33:16 +01:00
|
|
|
let
|
2024-01-15 12:42:01 +01:00
|
|
|
cfg = config.jconfig.styling;
|
2024-01-19 17:13:40 +01:00
|
|
|
nerdFontSymbols = pkgs.nerdfonts.override { fonts = [ "NerdFontsSymbolsOnly" ]; };
|
|
|
|
fallbackSymbols = {
|
|
|
|
name = "Symbols Nerd Font";
|
|
|
|
package = nerdFontSymbols;
|
|
|
|
};
|
2024-01-14 17:33:16 +01:00
|
|
|
in
|
|
|
|
{
|
2024-01-15 12:42:01 +01:00
|
|
|
autoEnable = cfg.enable;
|
2024-01-14 17:33:16 +01:00
|
|
|
image = cfg.wallpaper;
|
|
|
|
base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-hard.yaml";
|
|
|
|
polarity = "dark";
|
2024-01-19 17:13:40 +01:00
|
|
|
fonts.monospace = [
|
|
|
|
{ name = "JetBrains Mono"; package = pkgs.jetbrains-mono; }
|
|
|
|
fallbackSymbols
|
|
|
|
];
|
|
|
|
fonts.sansSerif = [
|
|
|
|
{ name = "Noto Sans"; package = pkgs.noto-fonts; }
|
|
|
|
fallbackSymbols
|
|
|
|
];
|
|
|
|
fonts.serif = [
|
|
|
|
{ name = "Noto Serif"; package = pkgs.noto-fonts; }
|
|
|
|
fallbackSymbols
|
|
|
|
];
|
2024-01-14 17:33:16 +01:00
|
|
|
fonts.sizes.popups = 12;
|
|
|
|
targets.plymouth.logoAnimated = false;
|
|
|
|
targets.plymouth.logo = cfg.bootLogo;
|
|
|
|
}
|