2024-02-29 15:29:19 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
catppuccinVariant ? "Mocha",
|
|
|
|
...
|
|
|
|
}: {
|
2024-02-25 06:32:13 +00:00
|
|
|
stylix = {
|
2024-02-29 15:29:19 +00:00
|
|
|
base16Scheme = "${pkgs.base16-schemes}/share/themes/catppuccin-${lib.strings.toLower catppuccinVariant}.yaml";
|
2024-02-25 06:32:13 +00:00
|
|
|
autoEnable = false;
|
|
|
|
targets = {
|
|
|
|
chromium.enable = true;
|
|
|
|
console.enable = true;
|
|
|
|
};
|
|
|
|
image = ../wallpapers/default.jpg;
|
|
|
|
polarity = "dark";
|
|
|
|
opacity = {
|
|
|
|
applications = 0.85;
|
|
|
|
desktop = 1.0;
|
|
|
|
popups = 0.5;
|
|
|
|
terminal = 0.85;
|
|
|
|
};
|
2024-02-29 15:29:19 +00:00
|
|
|
cursor = let
|
|
|
|
variant = "${lib.strings.toLower catppuccinVariant}Dark";
|
|
|
|
in {
|
|
|
|
package = pkgs.catppuccin-cursors.${variant};
|
|
|
|
name = "Catppuccin-${catppuccinVariant}-Dark-Cursors";
|
2024-02-25 06:32:13 +00:00
|
|
|
};
|
2024-03-02 11:38:59 +00:00
|
|
|
fonts = let
|
2024-03-02 13:16:48 +00:00
|
|
|
iosevkaCustomBuildPlan = import ./iosevka.nix;
|
2024-03-02 11:38:59 +00:00
|
|
|
in {
|
2024-02-25 06:32:13 +00:00
|
|
|
sizes = {
|
|
|
|
applications = 16;
|
2024-03-01 18:07:03 +00:00
|
|
|
desktop = 20;
|
|
|
|
popups = 20;
|
2024-02-25 06:32:13 +00:00
|
|
|
terminal = 16;
|
|
|
|
};
|
2024-03-02 11:38:59 +00:00
|
|
|
serif = rec {
|
|
|
|
name = "Iosevka Custom Etoile";
|
|
|
|
package = pkgs.iosevka.override {
|
|
|
|
set = "etoile";
|
|
|
|
privateBuildPlan = {
|
|
|
|
inherit (iosevkaCustomBuildPlan) noCvSs exportGlyphNames variants weights;
|
|
|
|
family = name;
|
|
|
|
spacing = "quasi-proportional";
|
|
|
|
serifs = "slab";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
sansSerif = rec {
|
|
|
|
name = "Iosevka Custom Aile";
|
|
|
|
package = pkgs.iosevka.override {
|
|
|
|
set = "aile";
|
|
|
|
privateBuildPlan = {
|
|
|
|
inherit (iosevkaCustomBuildPlan) noCvSs exportGlyphNames variants weights;
|
|
|
|
family = name;
|
|
|
|
spacing = "quasi-proportional";
|
|
|
|
serifs = "sans";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
monospace = rec {
|
|
|
|
name = "Iosevka Custom";
|
|
|
|
package = pkgs.iosevka.override {
|
|
|
|
set = "custom";
|
|
|
|
privateBuildPlan = {
|
|
|
|
inherit (iosevkaCustomBuildPlan) noCvSs exportGlyphNames variants weights;
|
|
|
|
family = name;
|
|
|
|
spacing = "normal";
|
|
|
|
serifs = "sans";
|
|
|
|
};
|
2024-03-01 17:59:24 +00:00
|
|
|
};
|
2024-02-25 06:32:13 +00:00
|
|
|
};
|
|
|
|
emoji = {
|
|
|
|
name = "Noto Color Emoji";
|
|
|
|
package = pkgs.noto-fonts-emoji;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
homeManagerIntegration.followSystem = true;
|
|
|
|
};
|
|
|
|
}
|