switch to native chrome flatpak is cursed
This commit is contained in:
parent
0531c950e0
commit
0581dbff86
4 changed files with 38 additions and 40 deletions
|
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue