aboutsummaryrefslogtreecommitdiff
path: root/modules/system
diff options
context:
space:
mode:
Diffstat (limited to 'modules/system')
-rw-r--r--modules/system/font.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/modules/system/font.nix b/modules/system/font.nix
new file mode 100644
index 0000000..b9ea6c9
--- /dev/null
+++ b/modules/system/font.nix
@@ -0,0 +1,30 @@
+{
+ flake.modules.nixos.font =
+ { pkgs, ... }:
+ {
+ fonts = {
+ enableDefaultPackages = true;
+ packages = with pkgs; [
+ noto-fonts
+ noto-fonts-cjk-sans
+ liberation_ttf
+ inter
+ jetbrains-mono
+ ];
+
+ fontconfig = {
+ enable = true;
+ antialias = true;
+ hinting = {
+ enable = true;
+ autohint = false;
+ style = "slight";
+ };
+ subpixel = {
+ rgba = "none";
+ };
+ useEmbeddedBitmaps = false;
+ };
+ };
+ };
+}