switch to native chrome flatpak is cursed

This commit is contained in:
RingOfStorms (Joshua Bell) 2025-09-18 10:43:20 -05:00
parent 0531c950e0
commit 0581dbff86
4 changed files with 38 additions and 40 deletions

View file

@ -33,9 +33,27 @@ in
default = true;
description = "Enable jetbrains mono font";
};
japaneseFonts = lib.mkOption {
type = lib.types.bool;
default = true;
description = "Enable japanese fonts";
};
};
config = lib.mkIf cfg.jetbrainsMonoFont {
fonts.packages = [ jetbrainsMonoFont ];
config = {
fonts.packages =
lib.optionals cfg.jetbrainsMonoFont [
jetbrainsMonoFont
]
++ lib.optionals cfg.japaneseFonts (
with pkgs;
[
ipafont
kochi-substitute
noto-fonts-cjk-sans # Or another CJK font
]
);
fonts.fontconfig.enable = true;
};
}