about summary refs log tree commit diff
path: root/home/profiles/fonts
diff options
context:
space:
mode:
Diffstat (limited to 'home/profiles/fonts')
-rw-r--r--home/profiles/fonts/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/home/profiles/fonts/default.nix b/home/profiles/fonts/default.nix
new file mode 100644
index 0000000..ab24f31
--- /dev/null
+++ b/home/profiles/fonts/default.nix
@@ -0,0 +1,25 @@
+{ config, lib, pkgs, ... }:
+let cfg = config.profiles.fonts;
+in
+{
+  options.profiles.fonts = {
+    enable = lib.mkEnableOption
+      "A profile that installs extra fonts. (for Non-NixOS systems)";
+  };
+
+  config = lib.mkIf cfg.enable {
+    home.packages = with pkgs; [
+      iosevka-pure-bin
+      ctrld-font
+      sarasa-gothic
+      scientifica
+      #siji # TODO: bitmap font conflict
+      jetbrains-mono
+      twemoji-color-font
+      emacs-all-the-icons-fonts
+      (nerdfonts.override { fonts = [ "Iosevka" "JetBrainsMono" ]; })
+    ];
+
+    fonts.fontconfig.enable = true;
+  };
+}