mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-23 08:45:09 +01:00
6cd3e23c21
This seems to have fixed an issue where italicized text wasn't shown previously.
47 lines
841 B
Nix
47 lines
841 B
Nix
{ pkgs, ... }:
|
|
|
|
let
|
|
theme = "monokai";
|
|
opacity = 0.92;
|
|
font-size = 11;
|
|
in
|
|
{
|
|
stylix.image = ../assets/wallpaper.png;
|
|
stylix.polarity = "dark";
|
|
stylix.base16Scheme = "${pkgs.base16-schemes}/share/themes/${theme}.yaml";
|
|
|
|
stylix.opacity = {
|
|
terminal = opacity;
|
|
popups = opacity;
|
|
};
|
|
|
|
stylix.fonts = {
|
|
serif = {
|
|
package = pkgs.noto-fonts-cjk-sans;
|
|
name = "Noto Sans CJK JP";
|
|
};
|
|
|
|
sansSerif = {
|
|
package = pkgs.noto-fonts-cjk-sans;
|
|
name = "Noto Sans CJK JP";
|
|
};
|
|
|
|
monospace = {
|
|
package = pkgs.maple-mono;
|
|
name = "Maple Mono";
|
|
};
|
|
|
|
emoji = {
|
|
package = pkgs.noto-fonts-emoji;
|
|
name = "Noto Color Emoji";
|
|
};
|
|
|
|
sizes = {
|
|
applications = font-size;
|
|
desktop = font-size;
|
|
popups = font-size;
|
|
terminal = font-size;
|
|
};
|
|
};
|
|
}
|