NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
18.08k stars 14.13k forks source link

kde: add font configuration #157315

Open mainrs opened 2 years ago

mainrs commented 2 years ago

Issue description

KDE currently uses fonts that are non-configurable. It doesn't follow the fontconfig entries. To change the fonts, one has to manually do so inside the configuration UI panel. On my system, it defaults to Noto and Hack. I changed it to Inter and FiraCode.

An option that one can use to change the fonts is desirable.

Context

image

The config resides in ~/.config/kdeglobals.

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

 - system: `"x86_64-linux"`
 - host os: `Linux 5.10.93, NixOS, 21.11 (Porcupine)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.7.0pre20220124_0a70b37`
 - channels(me): `"nixos-21.05.4470.3b422991781, nixos-unstable-21.11pre323695.9aeeb7574fb"`
 - channels(root): `"nixos-21.11.334587.e6377ff3554, nixos-unstable-22.05pre338911.03ec468b140"`
 - nixpkgs: `/nix/store/q8fqyyh6l0apzm29x7syl04pdp886b2f-source`
LunNova commented 2 years ago

Since it's in ~ this may be more suited for https://github.com/nix-community/home-manager

There is a WIP kconfig module here https://github.com/nix-community/home-manager/pull/2565

l0b0 commented 7 months ago

KDE seems to support global configuration, so it's probably appropriate for this repo as well.