diff options
| author | Chris Montgomery <chris@cdom.io> | 2022-04-19 10:30:52 -0400 |
|---|---|---|
| committer | Chris Montgomery <chris@cdom.io> | 2022-04-19 10:30:52 -0400 |
| commit | b67c312295dfc5d34a1582b23249b0fc60a21c67 (patch) | |
| tree | 5de1bffc60b37138e5a99f8a71feaae336d33262 /modules | |
| parent | 4fdbb8168f61d31d3f90bb0d07f48de709c4fe79 (diff) | |
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
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/fonts/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/fonts/default.nix b/modules/fonts/default.nix index 2c7341a..8f71841 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 |
