aboutsummaryrefslogtreecommitdiffstats
path: root/nixos/desktop/fonts.nix
diff options
context:
space:
mode:
authorgramanas <anastasis.gramm2@gmail.com>2024-10-07 11:47:06 +0300
committergramanas <anastasis.gramm2@gmail.com>2024-10-07 11:47:06 +0300
commit4547e75868cba2a265b78661ddc386b5e81c1bb0 (patch)
tree71924feb573c8af5030080fc007eee7bfbaabb20 /nixos/desktop/fonts.nix
downloadnix-4547e75868cba2a265b78661ddc386b5e81c1bb0.tar.gz
nix-4547e75868cba2a265b78661ddc386b5e81c1bb0.tar.bz2
nix-4547e75868cba2a265b78661ddc386b5e81c1bb0.zip
Diffstat (limited to 'nixos/desktop/fonts.nix')
-rw-r--r--nixos/desktop/fonts.nix42
1 files changed, 42 insertions, 0 deletions
diff --git a/nixos/desktop/fonts.nix b/nixos/desktop/fonts.nix
new file mode 100644
index 0000000..38b3ca7
--- /dev/null
+++ b/nixos/desktop/fonts.nix
@@ -0,0 +1,42 @@
+{pkgs, ...}: {
+ fonts = {
+ enableDefaultPackages = true;
+ fontconfig = {
+ enable = true;
+ defaultFonts = {
+ emoji = ["Noto Color Emoji"];
+ monospace = [
+ "Liberation Mono"
+ ];
+ sansSerif = [
+ "Liberation Sans"
+ ];
+ serif = [
+ "Liberation Serif"
+ ];
+ };
+ hinting = {
+ enable = true;
+ style = "full";
+ autohint = true;
+ };
+ };
+ fontDir.enable = true;
+ enableGhostscriptFonts = true;
+ packages = with pkgs; [
+ fira
+ fira-mono
+ fira-code
+ hack-font
+ inter
+ iosevka
+ liberation_ttf
+ nerdfonts
+ noto-fonts
+ noto-fonts-color-emoji
+ roboto
+ roboto-mono
+ roboto-serif
+ ];
+ };
+}