refactor: refactor fonts option

This commit is contained in:
Artur Manuel 2025-04-20 15:38:07 +01:00
commit 0e93cee685
Signed by: amadaluzia
SSH key fingerprint: SHA256:ubvwT66gNUKSsgSzEb2UQnX8pzTq5N+r8eRVYGJJm4Q
6 changed files with 134 additions and 125 deletions

View file

@ -58,19 +58,25 @@
system = {
fonts = {
enable = true;
names = {
sansSerif = [ "Source Sans 3" ];
monospace = [ "Source Code Pro" ];
serif = [ "Source Serif 4" ];
emoji = [ "Noto Color Emoji" ];
};
packages = {
sansSerif = [ pkgs.source-sans ];
monospace = [ pkgs.source-code-pro ];
serif = [ pkgs.source-serif ];
emoji = [ pkgs.noto-fonts-color-emoji ];
extra = [ pkgs.nerd-fonts.symbols-only ];
fonts = {
sansSerif = {
names = [ "Source Sans 3" ];
packages = [ pkgs.source-sans ];
};
monospace = {
names = [ "Source Code Pro" ];
packages = [ pkgs.source-code-pro ];
};
serif = {
names = [ "Source Serif 4" ];
packages = [ pkgs.source-serif ];
};
emoji = {
names = [ "Noto Color Emoji" ];
packages = [ pkgs.noto-fonts-color-emoji ];
};
};
extraFonts = [ pkgs.nerd-fonts.symbols-only ];
};
pipewire.enable = true;
};
@ -104,7 +110,7 @@
enable = true;
wayland = true;
banner = ''
"thankfully no one got the idea to say n eye ree"
"thankfully no one got the idea to say n eye ree"
- YaLTeR, a.k.a. John Niri (CEO of Niri Incorporated)
'';
};