From b67c312295dfc5d34a1582b23249b0fc60a21c67 Mon Sep 17 00:00:00 2001 From: Chris Montgomery Date: Tue, 19 Apr 2022 10:30:52 -0400 Subject: [PATCH] fonts: rename `fonts.enableFontDir` in line with NixOS since 21.05 beta: https://github.com/NixOS/nixpkgs/blob/e22337c8707f42e21938dc729643fa8904d33aeb/nixos/modules/config/fonts/fontdir.nix#L64 https://github.com/NixOS/nixpkgs/commit/c99bd9bedf7291390c28eddb31f8ed2aeec8ea7f --- modules/fonts/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/fonts/default.nix b/modules/fonts/default.nix index 2c7341aa..8f71841b 100644 --- a/modules/fonts/default.nix +++ b/modules/fonts/default.nix @@ -7,8 +7,12 @@ let in { + imports = [ + (mkRenamedOptionModule [ "fonts" "enableFontDir" ] [ "fonts" "fontDir" "enable" ]) + ]; + options = { - fonts.enableFontDir = mkOption { + fonts.fontDir.enable = mkOption { default = false; description = '' Whether to enable font management and install configured fonts to