nix-config/modules/stylix.nix

53 lines
945 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
2023-11-18 20:52:48 +01:00
stylix.cursor = with pkgs; {
package = phinger-cursors;
name = "phinger-cursors";
size = 24;
};
2023-10-28 17:35:05 +02:00
stylix.fonts = with pkgs; {
2023-05-16 20:48:49 +02:00
serif = {
2023-10-28 17:35:05 +02:00
package = noto-fonts-cjk-sans;
2023-05-16 20:48:49 +02:00
name = "Noto Sans CJK JP";
};
sansSerif = {
2023-10-28 17:35:05 +02:00
package = noto-fonts-cjk-sans;
2023-05-16 20:48:49 +02:00
name = "Noto Sans CJK JP";
};
monospace = {
2023-10-28 17:35:05 +02:00
package = maple-mono;
name = "Maple Mono";
2023-05-16 20:48:49 +02:00
};
emoji = {
2023-10-28 17:35:05 +02:00
package = noto-fonts-emoji;
2023-05-16 20:48:49 +02:00
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
};
};
}