summaryrefslogtreecommitdiff
path: root/hosts/local
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/local')
-rw-r--r--hosts/local/gui.nix37
-rw-r--r--hosts/local/niri.nix37
2 files changed, 37 insertions, 37 deletions
diff --git a/hosts/local/gui.nix b/hosts/local/gui.nix
index 4de3358..9785855 100644
--- a/hosts/local/gui.nix
+++ b/hosts/local/gui.nix
@@ -87,4 +87,41 @@ in {
XMODIFIERS = "@im=fcitx";
FCITX_SOCKET = "default";
};
+
+ fonts = {
+ enableDefaultPackages = true;
+ fontconfig = {
+ defaultFonts.emoji = ["Noto Color Emoji"];
+ defaultFonts.monospace = ["Hack" "Sarasa Mono SC"];
+ defaultFonts.sansSerif = ["DejaVu Sans"];
+ defaultFonts.serif = ["DejaVu Serif" "Source Han Serif SC"];
+ };
+ packages = with pkgs;
+ [
+ fira-code
+ fira
+ cooper-hewitt
+ ibm-plex
+ jetbrains-mono
+ iosevka
+ spleen
+ fira-code-symbols
+ powerline-fonts
+ arphic-ukai
+ arphic-uming
+ dejavu_fonts
+ font-awesome
+ inconsolata # monospaced
+ noto-fonts
+ noto-fonts-cjk-sans
+ noto-fonts-color-emoji
+ powerline-fonts
+ source-han-sans
+ source-sans-pro
+ ubuntu-classic
+ wqy_microhei
+ wqy_zenhei
+ ]
+ ++ builtins.filter lib.attrsets.isDerivation (builtins.attrValues pkgs.nerd-fonts);
+ };
}
diff --git a/hosts/local/niri.nix b/hosts/local/niri.nix
index 042fff9..9ec5701 100644
--- a/hosts/local/niri.nix
+++ b/hosts/local/niri.nix
@@ -143,43 +143,6 @@
services.xserver.desktopManager.runXdgAutostartIfNone = true;
- fonts = {
- enableDefaultPackages = true;
- fontconfig = {
- defaultFonts.emoji = ["Noto Color Emoji"];
- defaultFonts.monospace = ["Hack" "Sarasa Mono SC"];
- defaultFonts.sansSerif = ["DejaVu Sans"];
- defaultFonts.serif = ["DejaVu Serif" "Source Han Serif SC"];
- };
- packages = with pkgs;
- [
- fira-code
- fira
- cooper-hewitt
- ibm-plex
- jetbrains-mono
- iosevka
- spleen
- fira-code-symbols
- powerline-fonts
- arphic-ukai
- arphic-uming
- dejavu_fonts
- font-awesome
- inconsolata # monospaced
- noto-fonts
- noto-fonts-cjk-sans
- noto-fonts-color-emoji
- powerline-fonts
- source-han-sans
- source-sans-pro
- ubuntu-classic
- wqy_microhei
- wqy_zenhei
- ]
- ++ builtins.filter lib.attrsets.isDerivation (builtins.attrValues pkgs.nerd-fonts);
- };
-
# screen capture
#