Evie Litherland-Smith
d39dbcc261
Add FantasqueSansMono Nerd Font as primary font to use, keep Iosevka for now until I'm sure about it. Also add a few fun fonts (VictorMono for it's ridiculous cursive italics, HeavyData because it's basically illegible but looks fun to use for certain applications) Move all nerdfont definition into a single package override in stylix.nix, remove from fonts.packages list as stylix handles adding this automatically
58 lines
1.4 KiB
Nix
58 lines
1.4 KiB
Nix
{
|
|
lib,
|
|
pkgs,
|
|
catppuccinVariant ? "Mocha",
|
|
...
|
|
}: {
|
|
stylix = {
|
|
base16Scheme = "${pkgs.base16-schemes}/share/themes/catppuccin-${lib.strings.toLower catppuccinVariant}.yaml";
|
|
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;
|
|
};
|
|
cursor = let
|
|
variant = "${lib.strings.toLower catppuccinVariant}Dark";
|
|
in {
|
|
package = pkgs.catppuccin-cursors.${variant};
|
|
name = "Catppuccin-${catppuccinVariant}-Dark-Cursors";
|
|
};
|
|
fonts = rec {
|
|
sizes = {
|
|
applications = 16;
|
|
desktop = 18;
|
|
popups = 18;
|
|
terminal = 16;
|
|
};
|
|
serif = monospace;
|
|
sansSerif = monospace;
|
|
monospace = {
|
|
name = "FantasqueSansM Nerd Font";
|
|
package = pkgs.nerdfonts.override {
|
|
fonts = [
|
|
"FantasqueSansMono" # My new main font
|
|
"Iosevka" # Keeping as a backup for now
|
|
"GeistMono" # Still undecided about this one
|
|
"VictorMono" # Just for fun
|
|
"HeavyData" # Just for fun
|
|
"NerdFontsSymbolsOnly" # For other tools
|
|
];
|
|
};
|
|
};
|
|
emoji = {
|
|
name = "Noto Color Emoji";
|
|
package = pkgs.noto-fonts-emoji;
|
|
};
|
|
};
|
|
homeManagerIntegration.followSystem = true;
|
|
};
|
|
}
|