configuration.nix/module/stylix-config.nix
Jalil David Salamé Messina 63034a2af9
Generate docs (#1)
* feat: Reorganize code

* feat: Generate docs as mdbook

* feat: Add deploy github action

* fix: formatting
2024-01-14 18:58:08 +01:00

26 lines
890 B
Nix

{ config, pkgs, ... }:
let
cfg = config.jconfig.gui.styling;
nerdFontSymbols = pkgs.nerdfonts.override { fonts = [ "NerdFontsSymbolsOnly" ]; };
fallbackSymbols = {
name = "Symbols Nerd Font";
package = nerdFontSymbols;
};
in
{
image = cfg.wallpaper;
base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-hard.yaml";
polarity = "dark";
fonts.monospace.name = "JetBrains Mono";
fonts.monospace.package = pkgs.jetbrains-mono;
fonts.sansSerif.name = "Noto Sans";
fonts.sansSerif.package = pkgs.noto-fonts;
fonts.serif.name = "Noto Serif";
fonts.serif.package = pkgs.noto-fonts;
fonts.fallbackFonts.monospace = [ fallbackSymbols ];
fonts.fallbackFonts.sansSerif = [ fallbackSymbols ];
fonts.fallbackFonts.serif = [ fallbackSymbols ];
fonts.sizes.popups = 12;
targets.plymouth.logoAnimated = false;
targets.plymouth.logo = cfg.bootLogo;
}