nixos: fix zed font troubles with explicit fonts in desktop module

This commit is contained in:
Aly Raffauf 2024-08-04 15:28:58 -04:00
parent ea4cfea175
commit 27b3fe91a6
3 changed files with 7 additions and 3 deletions

View file

@ -166,11 +166,11 @@
}, },
"nixpkgs-unstable": { "nixpkgs-unstable": {
"locked": { "locked": {
"lastModified": 1722421184, "lastModified": 1722630782,
"narHash": "sha256-/DJBI6trCeVnasdjUo9pbnodCLZcFqnVZiLUfqLH4jA=", "narHash": "sha256-hMyG9/WlUi0Ho9VkRrrez7SeNlDzLxalm9FwY7n/Noo=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "9f918d616c5321ad374ae6cb5ea89c9e04bf3e58", "rev": "d04953086551086b44b6f3c6b7eeb26294f207da",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -13,6 +13,7 @@ in {
gnome.adwaita-icon-theme gnome.adwaita-icon-theme
liberation_ttf liberation_ttf
vegur vegur
(nerdfonts.override {fonts = ["UbuntuSans"];})
]; ];
pointerCursor = { pointerCursor = {
@ -30,6 +31,7 @@ in {
fonts.fontconfig = { fonts.fontconfig = {
enable = true; enable = true;
defaultFonts = { defaultFonts = {
monospace = ["UbuntuSansMono Nerd Font"]; monospace = ["UbuntuSansMono Nerd Font"];
serif = ["Vegur"]; serif = ["Vegur"];

View file

@ -22,7 +22,9 @@
}; };
fonts.packages = with pkgs; [ fonts.packages = with pkgs; [
(nerdfonts.override {fonts = ["UbuntuSans"];})
liberation_ttf liberation_ttf
vegur
]; ];
hardware.logitech.wireless = { hardware.logitech.wireless = {