feat: restructure system config
Create common system config and derive common server & desktop configs from it.
This commit is contained in:
parent
4af1b35392
commit
8dcece0836
6 changed files with 22 additions and 19 deletions
24
system/fonts.nix
Normal file
24
system/fonts.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
# TODO once nerdfonts 2.2.0 is released switch to NerdFontsSymbolsOnly
|
||||
# Also needs to be added to known fonts in nixpkgs:
|
||||
# https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/data/fonts/nerdfonts/shas.nix
|
||||
fonts.fonts = with pkgs; [
|
||||
noto-fonts
|
||||
noto-fonts-extra
|
||||
noto-fonts-cjk
|
||||
noto-fonts-emoji
|
||||
# (nerdfonts.override { fonts = [ "NerdFontsSymbolsOnly" ]; })
|
||||
(nerdfonts.override { fonts = [ "FiraCode" ]; })
|
||||
fira-code
|
||||
];
|
||||
fonts.fontconfig.defaultFonts = {
|
||||
serif = [ "Noto Serif" "Noto Color Emoji" ];
|
||||
sansSerif = [ "Noto Sans" "Noto Color Emoji" ];
|
||||
# monospace = [ "Fira Code" "Noto Color Emoji" "Symbols-1000-em Nerd Font" ];
|
||||
# emoji = [ "Noto Color Emoji" "Symbols-1000-em Nerd Font" ];
|
||||
monospace = [ "Fira Code" "Noto Color Emoji" "FiraCode Nerd Font" ];
|
||||
emoji = [ "Noto Color Emoji" "FiraCode Nerd Font" ];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue