nix/module/common/Stylix.nix

46 lines
975 B
Nix
Raw Normal View History

2024-04-03 00:23:03 +03:00
{ pkgs, config, wallpaper, ... }: {
stylix = {
image = wallpaper.path;
autoEnable = true;
polarity = "dark";
# base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-hard.yaml";
2024-04-03 02:05:36 +03:00
opacity = {
2024-04-03 06:47:48 +03:00
applications = 1.0;
2024-04-03 02:05:36 +03:00
terminal = 0.85;
2024-04-03 06:47:48 +03:00
popups = 1.0;
2024-04-03 02:05:36 +03:00
desktop = 0.85;
};
2024-04-03 05:06:03 +03:00
cursor = {
name = "phinger-cursors";
package = pkgs.phinger-cursors;
size = 24;
};
2024-04-03 00:23:03 +03:00
fonts = {
sizes = {
applications = 12;
terminal = 12;
popups = 12;
desktop = 12;
};
2024-04-03 02:05:36 +03:00
serif = {
package = (pkgs.callPackage ./applefont {});
name = "SF Pro Display";
};
sansSerif = config.stylix.fonts.serif;
2024-04-03 00:23:03 +03:00
monospace = {
package = (pkgs.nerdfonts.override { fonts = [ "Terminus" ]; });
2024-04-03 02:05:36 +03:00
name = "Terminess Nerd Font Mono";
2024-04-03 00:23:03 +03:00
};
emoji = {
package = pkgs.noto-fonts-emoji;
name = "Noto Color Emoji";
};
};
2024-04-03 02:05:36 +03:00
# targets = {
# foot = {
# enable = true;
# };
# };
2024-04-03 00:23:03 +03:00
};
}