nix-config/modules/stylix.nix

55 lines
1006 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
{
stylix = {
image = ../assets/wallpaper.png;
polarity = "dark";
base16Scheme = "${pkgs.base16-schemes}/share/themes/${theme}.yaml";
opacity = {
terminal = opacity;
popups = opacity;
2023-05-16 20:48:49 +02:00
};
cursor = with pkgs; {
package = phinger-cursors;
name = "phinger-cursors";
size = 24;
2023-05-16 20:48:49 +02:00
};
fonts = with pkgs; {
serif = {
package = (callPackage ../packages/aleo-fonts.nix { });
name = "Aleo";
};
sansSerif = {
package = noto-fonts-cjk-sans;
name = "Noto Sans CJK JP";
};
monospace = {
package = maple-mono;
name = "Maple Mono";
};
emoji = {
package = noto-fonts-emoji;
name = "Noto Color Emoji";
};
sizes = {
applications = font-size;
desktop = font-size;
popups = font-size;
terminal = font-size;
};
2023-05-16 20:48:49 +02:00
};
};
}