font: change to pixel fonts

This commit is contained in:
2026-08-15 21:38:33 +03:00
parent 92a25a36d4
commit 8455342613
2 changed files with 25 additions and 4 deletions
+19 -1
View File
@@ -79,8 +79,21 @@
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 {
# {
stylix = {
enable = true;
overlays.enable = false;
@@ -122,6 +135,11 @@ in {
package = (pkgs.google-fonts.override { fonts = [ "Gabriela" ]; });
};
sansSerif = {
name = "Pixeloid Sans";
package = pixeloid;
};
emoji = {
package = pkgs.noto-fonts-monochrome-emoji;
name = "Noto Emoji";
+6 -3
View File
@@ -1,10 +1,12 @@
{ osConfig, config, pkgs, lib, ... }: {
home.packages = with pkgs; [
font-awesome
nerd-fonts.symbols-only
playerctl
cava
pulsemixer
monocraft
font-awesome
nerd-fonts.symbols-only
];
programs.waybar = {
@@ -49,7 +51,7 @@
};
pulseaudio = {
format = "{icon} {volume}%";
format = "{icon} {volume}%";
format-icons = {
headphone = "";
hands-free = "";
@@ -159,6 +161,7 @@
background: transparent;
color: ${colors.base05};
border-radius: ${radius};
font-family: "Symbols Nerd Font Mono", "Monocraft", "Font Awesome 7 Free";
font-weight: bold;
font-size: .85em;