2024-09-24 13:09:36 +00:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
...
|
2024-09-24 21:47:52 +00:00
|
|
|
}: let
|
2024-09-06 13:28:06 +00:00
|
|
|
cfg = config.modules.stylix;
|
2024-09-24 21:47:52 +00:00
|
|
|
in {
|
2024-09-06 13:28:06 +00:00
|
|
|
options = {
|
|
|
|
modules.stylix = {
|
|
|
|
enable = lib.mkEnableOption "Enable the stylix module";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
|
|
stylix = {
|
|
|
|
enable = true;
|
|
|
|
polarity = "dark";
|
|
|
|
base16Scheme = "${pkgs.base16-schemes}/share/themes/catppuccin-frappe.yaml";
|
|
|
|
cursor = {
|
2024-09-06 16:11:56 +00:00
|
|
|
package = pkgs.adwaita-icon-theme;
|
|
|
|
name = "Adwaita";
|
|
|
|
size = 24;
|
2024-09-06 13:28:06 +00:00
|
|
|
};
|
|
|
|
fonts = {
|
2024-09-06 20:17:33 +00:00
|
|
|
serif = lib.mkDefault {
|
2024-09-06 13:28:06 +00:00
|
|
|
package = pkgs.noto-fonts;
|
|
|
|
name = "Noto Serif";
|
|
|
|
};
|
2024-09-06 20:17:33 +00:00
|
|
|
sansSerif = lib.mkDefault {
|
2024-09-06 13:28:06 +00:00
|
|
|
package = pkgs.noto-fonts;
|
|
|
|
name = "Noto Sans";
|
|
|
|
};
|
2024-09-06 20:17:33 +00:00
|
|
|
monospace = lib.mkDefault {
|
2024-09-24 21:47:52 +00:00
|
|
|
package = pkgs.nerdfonts.override {fonts = ["IntelOneMono"];};
|
2024-09-06 20:35:44 +00:00
|
|
|
name = "IntoneMono Nerd Font";
|
2024-09-06 13:28:06 +00:00
|
|
|
};
|
|
|
|
emoji = {
|
|
|
|
package = pkgs.noto-fonts-color-emoji;
|
|
|
|
name = "Noto Color Emoji";
|
|
|
|
};
|
2024-09-06 20:17:33 +00:00
|
|
|
sizes = lib.mkDefault {
|
2024-09-06 13:28:06 +00:00
|
|
|
terminal = 14;
|
2024-09-07 00:51:36 +00:00
|
|
|
applications = 10;
|
2024-09-06 20:46:18 +00:00
|
|
|
desktop = 10;
|
2024-09-06 13:28:06 +00:00
|
|
|
};
|
|
|
|
};
|
2024-09-06 16:11:56 +00:00
|
|
|
targets = {
|
|
|
|
gtk.enable = false;
|
|
|
|
gnome.enable = false;
|
|
|
|
};
|
2024-09-25 06:35:08 +00:00
|
|
|
image = lib.mkDefault ../../wallpapers/nix-wallpaper-nineish-catppuccin-frappe-alt.svg;
|
2024-09-06 13:28:06 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|