Install some fonts
- Install roboto and variations
- Set them as the default fonts
- Roboto Slab for serif
- Roboto for sansSerif
- Roboto mono for monospaced
- Install twemoji and set as the default emoji font
- Install various symbol fonts (powerline, material, FA)
diff --git a/modules/fonts.nix b/modules/fonts.nix
new file mode 100644
index 0000000..3716c96
--- /dev/null
+++ b/modules/fonts.nix
@@ -0,0 +1,23 @@
+{pkgs, ...}: {
+ config.fonts = {
+ fonts = with pkgs; [
+ roboto
+ roboto-mono
+ roboto-slab
+ twitter-color-emoji
+ font-awesome
+ material-design-icons
+ powerline-symbols
+ ];
+
+ fontDir.enable = true;
+ enableDefaultFonts = true;
+
+ fontconfig.defaultFonts = {
+ serif = ["Roboto Slab"];
+ sansSerif = ["Roboto"];
+ monospace = ["Roboto Mono"];
+ emoji = ["Twitter Color Emoji"];
+ };
+ };
+}