refactor: refactor fonts option
This commit is contained in:
parent
cb376aa64b
commit
0e93cee685
6 changed files with 134 additions and 125 deletions
|
@ -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)
|
||||
'';
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue