font: change to pixel fonts

This commit is contained in:
2026-06-03 17:56:40 +03:00
parent 211dafc241
commit 9332b07729
2 changed files with 24 additions and 3 deletions
+19 -1
View File
@@ -79,8 +79,21 @@
cp Kurumi $out/share/icons -r cp Kurumi $out/share/icons -r
''; '';
}; };
pixeloid = pkgs.stdenvNoCC.mkDerivation {
name = "Pixeloid";
dontUnpack = true;
src = pkgs.fetchurl {
url = "https://lair.moe/static/font/Pixeloid/otf/Sans.otf";
hash = "sha256-GTf2BnhH0Pzc3Bbevmd+mA6t8lZFMUxX9wkSqWicuSc=";
};
installPhase = ''
install -Dm644 "$src" "$out/share/fonts/opentype/Sans.otf"
'';
};
in { in {
# {
stylix = { stylix = {
enable = true; enable = true;
overlays.enable = false; overlays.enable = false;
@@ -122,6 +135,11 @@ in {
package = (pkgs.google-fonts.override { fonts = [ "Gabriela" ]; }); package = (pkgs.google-fonts.override { fonts = [ "Gabriela" ]; });
}; };
sansSerif = {
name = "Pixeloid Sans";
package = pixeloid;
};
emoji = { emoji = {
package = pkgs.noto-fonts-monochrome-emoji; package = pkgs.noto-fonts-monochrome-emoji;
name = "Noto Emoji"; name = "Noto Emoji";
+5 -2
View File
@@ -1,10 +1,12 @@
{ osConfig, config, pkgs, lib, ... }: { { osConfig, config, pkgs, lib, ... }: {
home.packages = with pkgs; [ home.packages = with pkgs; [
font-awesome
nerd-fonts.symbols-only
playerctl playerctl
cava cava
pulsemixer pulsemixer
monocraft
font-awesome
nerd-fonts.symbols-only
]; ];
programs.waybar = { programs.waybar = {
@@ -159,6 +161,7 @@
background: transparent; background: transparent;
color: ${colors.base05}; color: ${colors.base05};
border-radius: ${radius}; border-radius: ${radius};
font-family: "Monocraft", "Font Awesome 6 Free", "Symbols Nerd Font";
font-weight: bold; font-weight: bold;
font-size: .85em; font-size: .85em;