diff options
author | Michele Guerini Rocco <rnhmjoj@users.noreply.github.com> | 2022-03-15 09:42:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-15 09:42:07 +0100 |
commit | c0ede261629713e5f33d9fc90777c72f92deaef8 (patch) | |
tree | d8e6f907fb02a2236da36e6b38988df81d0f923f /nixos | |
parent | aa6313a23d749f0d73f91af35a2fe15e74501451 (diff) | |
parent | 5ac5bed4b4b029324ffbe6228be5f6db96005779 (diff) | |
download | nixpkgs-c0ede261629713e5f33d9fc90777c72f92deaef8.tar nixpkgs-c0ede261629713e5f33d9fc90777c72f92deaef8.tar.gz nixpkgs-c0ede261629713e5f33d9fc90777c72f92deaef8.tar.bz2 nixpkgs-c0ede261629713e5f33d9fc90777c72f92deaef8.tar.lz nixpkgs-c0ede261629713e5f33d9fc90777c72f92deaef8.tar.xz nixpkgs-c0ede261629713e5f33d9fc90777c72f92deaef8.tar.zst nixpkgs-c0ede261629713e5f33d9fc90777c72f92deaef8.zip |
Merge pull request #164050 from LunNova/lunnova/disable-lucida-bitmap-fonts
Remove ancient unfree bitmap fonts from fonts.defaultXFonts
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/doc/manual/from_md/release-notes/rl-2205.section.xml | 18 | ||||
-rw-r--r-- | nixos/doc/manual/release-notes/rl-2205.section.md | 13 | ||||
-rw-r--r-- | nixos/modules/config/fonts/fonts.nix | 5 |
3 files changed, 31 insertions, 5 deletions
diff --git a/nixos/doc/manual/from_md/release-notes/rl-2205.section.xml b/nixos/doc/manual/from_md/release-notes/rl-2205.section.xml index 6a122544a7c..396de8cd77c 100644 --- a/nixos/doc/manual/from_md/release-notes/rl-2205.section.xml +++ b/nixos/doc/manual/from_md/release-notes/rl-2205.section.xml @@ -406,6 +406,24 @@ </listitem> <listitem> <para> + <literal>fonts.fonts</literal> no longer includes ancient + bitmap fonts when both + <literal>config.services.xserver.enable</literal> and + <literal>config.nixpkgs.config.allowUnfree</literal> are + enabled. If you still want these fonts, use: + </para> + <programlisting language="bash"> +{ + fonts.fonts = [ + pkgs.xorg.fontbhlucidatypewriter100dpi + pkgs.xorg.fontbhlucidatypewriter75dpi + pkgs.xorg.fontbh100dpi + ]; +} +</programlisting> + </listitem> + <listitem> + <para> The DHCP server (<literal>services.dhcpd4</literal>, <literal>services.dhcpd6</literal>) has been hardened. The service is now using the systemd’s diff --git a/nixos/doc/manual/release-notes/rl-2205.section.md b/nixos/doc/manual/release-notes/rl-2205.section.md index ddfc9702c97..2f730de737c 100644 --- a/nixos/doc/manual/release-notes/rl-2205.section.md +++ b/nixos/doc/manual/release-notes/rl-2205.section.md @@ -131,6 +131,19 @@ In addition to numerous new and upgraded packages, this release has the followin This change may require a reboot to take effect, and k3s may not be able to run if the boot cgroup hierarchy does not match its configuration. The previous behavior may be retained by explicitly setting `systemd.enableUnifiedCgroupHierarchy = false` in your configuration. +- `fonts.fonts` no longer includes ancient bitmap fonts when both `config.services.xserver.enable` and `config.nixpkgs.config.allowUnfree` are enabled. + If you still want these fonts, use: + + ```nix + { + fonts.fonts = [ + pkgs.xorg.fontbhlucidatypewriter100dpi + pkgs.xorg.fontbhlucidatypewriter75dpi + pkgs.xorg.fontbh100dpi + ]; + } + ``` + - The DHCP server (`services.dhcpd4`, `services.dhcpd6`) has been hardened. The service is now using the systemd's `DynamicUser` mechanism to run as an unprivileged dynamically-allocated user with limited capabilities. The dhcpd state files are now always stored in `/var/lib/dhcpd{4,6}` and the `services.dhcpd4.stateDir` and `service.dhcpd6.stateDir` options have been removed. diff --git a/nixos/modules/config/fonts/fonts.nix b/nixos/modules/config/fonts/fonts.nix index 04952898cb7..adc6654afc7 100644 --- a/nixos/modules/config/fonts/fonts.nix +++ b/nixos/modules/config/fonts/fonts.nix @@ -39,11 +39,6 @@ let defaultXFonts = [ (if hasHidpi then fontcursormisc_hidpi else pkgs.xorg.fontcursormisc) pkgs.xorg.fontmiscmisc - ] ++ optionals (config.nixpkgs.config.allowUnfree or false) - [ # these are unfree, and will make usage with xserver fail - pkgs.xorg.fontbhlucidatypewriter100dpi - pkgs.xorg.fontbhlucidatypewriter75dpi - pkgs.xorg.fontbh100dpi ]; in |