diff --git a/modules/home/appearance/base/default.nix b/modules/home/appearance/base/default.nix index 79e5e55..3f572eb 100644 --- a/modules/home/appearance/base/default.nix +++ b/modules/home/appearance/base/default.nix @@ -3,20 +3,19 @@ config, pkgs, ... -}: -let +}: let inherit (lib) mkEnableOption mkIf; inherit (lib.marleyos) enabled; cfg = config.marleyos.appearance.base; inherit (config.marleyos.theme) colors; inherit (config.marleyos) isDesktop; -in -{ +in { options.marleyos.appearance.base.enable = mkEnableOption "base"; config = mkIf cfg.enable { home.packages = with pkgs; [ + # TODO: package font with harfbuzz features. maple-mono-NF ]; @@ -42,10 +41,15 @@ in name = "kora"; }; - pinentry = if isDesktop then pkgs.pinentry-gtk2 else pkgs.pinentry-curses; + pinentry = + if isDesktop + then pkgs.pinentry-gtk2 + else pkgs.pinentry-curses; }; - # TODO: package font with harfbuzz features. - fonts.fontconfig.defaultFonts.monospace = [ "Maple Mono NF" ]; + fonts.fontconfig = { + enable = true; + defaultFonts.monospace = ["Maple Mono NF"]; + }; }; }