nixos/gnome: Update default fonts

GNOME 48 switched to new Inter and Iosevka based Adwaita fonts:
067cb4b155
https://blogs.gnome.org/monster/introducing-adwaita-fonts/

The default fonts were last changed to Cantarell and Source Code Pro in GNOME 3.32:
965062de47

Source Sans was added alongside them in c99a666aac
but it does not seem to be needed nowadays.
The only relevant package mentioning it according is GNOME Recipes:
https://codesearch.debian.net/search?q=Source+Sans+-pkg%3Atexlive+-pkg%3Aopenjdk+-pkg%3Abootswatch+-pkg%3Aqt%28%5Cd-%29%3Fwebengine+-pkg%3Afirefox+-pkg%3Ar-cran+-pkg%3Ataskflow+-pkg%3Afonts-adobe-sourcesans+-path%3Asvg%24+-path%3A%2Fdoc%2F+-path%3A%2Fdocs%2F&literal=1

DejaVu fonts are meant as a generic fallback but they are already pulled in by `fonts.enableDefaultPackages` option.
This commit is contained in:
Jan Tojnar 2025-05-08 13:07:31 +02:00
parent e3f655d284
commit b794b3eedb
2 changed files with 3 additions and 5 deletions

View file

@ -30,6 +30,7 @@
- `gnome-shell-extensions` extension collection (which included GNOME Classic extensions, Apps Menu, and User Themes, among others) are no longer installed by default. You can install them again with [](#opt-services.xserver.desktopManager.gnome.sessionPath).
- Option [](#opt-services.gnome.core-developer-tools.enable) now also installs `sysprof` and `d-spy`.
- Option `services.gnome.core-utilities.enable` has been renamed to [](#opt-services.gnome.core-apps.enable).
- `cantarell-fonts`, `source-code-pro` and `source-sans` fonts are no longer installed by default. They have been replaced by `adwaita-fonts`.
Refer to the [GNOME release notes](https://release.gnome.org/48/) for more details.

View file

@ -378,11 +378,8 @@ in
services.orca.enable = notExcluded pkgs.orca;
fonts.packages = with pkgs; [
cantarell-fonts
dejavu_fonts
source-code-pro # Default monospace font in 3.32
source-sans
fonts.packages = [
pkgs.adwaita-fonts
];
# Adapt from https://gitlab.gnome.org/GNOME/gnome-build-meta/blob/gnome-48/elements/core/meta-gnome-core-shell.bst