diff options
Diffstat (limited to 'modules/fonts/default.nix')
| -rw-r--r-- | modules/fonts/default.nix | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/modules/fonts/default.nix b/modules/fonts/default.nix index b7d78df..d2826fc 100644 --- a/modules/fonts/default.nix +++ b/modules/fonts/default.nix @@ -5,6 +5,9 @@ pkgs, ... }: +let + cfg = config.fonts; +in { options.fonts = { normal = lib.mkOption { @@ -15,13 +18,13 @@ bold = lib.mkOption { type = lib.types.str; description = "Default bold font name."; - default = config.fonts.normal; + default = cfg.normal; }; italic = lib.mkOption { type = lib.types.str; description = "Default italic font name."; - default = config.fonts.normal; + default = cfg.normal; }; size = lib.mkOption { |
