aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/hosts/adam/flake-parts.nix1
-rw-r--r--modules/system/font.nix30
2 files changed, 31 insertions, 0 deletions
diff --git a/modules/hosts/adam/flake-parts.nix b/modules/hosts/adam/flake-parts.nix
index dc9654e..69b8715 100644
--- a/modules/hosts/adam/flake-parts.nix
+++ b/modules/hosts/adam/flake-parts.nix
@@ -14,6 +14,7 @@
sway
dns
audio
+ font
bluetooth
mullvad-vpn
steam
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;
+ };
+ };
+ };
+}