nix-config/modules/stylix.nix

47 lines
841 B
Nix
Raw Normal View History

2023-06-22 17:13:46 +02:00
{ pkgs, ... }:
2023-06-26 03:42:26 +02:00
let
theme = "monokai";
2023-07-02 20:34:07 +02:00
opacity = 0.95;
2023-06-27 10:46:28 +02:00
font-size = 11;
2023-06-26 03:42:26 +02:00
in
2023-06-22 17:13:46 +02:00
{
2023-06-16 20:03:09 +02:00
stylix.image = ../assets/wallpaper.png;
2023-05-16 20:48:49 +02:00
stylix.polarity = "dark";
2023-06-26 03:42:26 +02:00
stylix.base16Scheme = "${pkgs.base16-schemes}/share/themes/${theme}.yaml";
2023-06-26 03:41:49 +02:00
stylix.opacity = {
terminal = opacity;
popups = opacity;
2023-06-26 03:41:49 +02:00
};
2023-05-16 20:48:49 +02:00
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";
2023-05-16 20:48:49 +02:00
};
emoji = {
package = pkgs.noto-fonts-emoji;
name = "Noto Color Emoji";
};
sizes = {
2023-06-27 10:46:28 +02:00
applications = font-size;
desktop = font-size;
popups = font-size;
terminal = font-size;
2023-05-16 20:48:49 +02:00
};
};
}