2024-09-06 13:28:06 +00:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
let
|
|
|
|
cfg = config.modules.stylix;
|
|
|
|
in
|
|
|
|
{
|
|
|
|
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 {
|
|
|
|
package = pkgs.intel-one-mono;
|
|
|
|
name = "Intel One Mono";
|
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-06 20:17:33 +00:00
|
|
|
applications = 14;
|
2024-09-06 13:28:06 +00:00
|
|
|
desktop = 12;
|
|
|
|
};
|
|
|
|
};
|
2024-09-06 16:11:56 +00:00
|
|
|
targets = {
|
|
|
|
gtk.enable = false;
|
|
|
|
gnome.enable = false;
|
|
|
|
};
|
2024-09-06 13:28:06 +00:00
|
|
|
image = lib.mkDefault ../wallpapers/nix-wallpaper-nineish-catppuccin-frappe-alt.svg;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|