about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
Diffstat (limited to 'nixos')
-rw-r--r--nixos/alpha/configuration.nix47
-rw-r--r--nixos/default.nix1
2 files changed, 48 insertions, 0 deletions
diff --git a/nixos/alpha/configuration.nix b/nixos/alpha/configuration.nix
index dddd774..0825140 100644
--- a/nixos/alpha/configuration.nix
+++ b/nixos/alpha/configuration.nix
@@ -83,6 +83,53 @@
 
   systemd.extraConfig = "RebootWatchdogSec=5";
 
+  fonts = {
+    fontDir.enable = true;
+
+    fonts = with pkgs; [
+      iosevka-pure-bin
+      ctrld-font
+      sarasa-gothic
+      scientifica
+      siji
+      jetbrains-mono
+      twemoji-color-font
+      emacs-all-the-icons-fonts
+      (nerdfonts.override { fonts = [ "Iosevka" "JetBrainsMono" ]; })
+    ];
+
+    fontconfig = {
+      enable = true;
+
+      defaultFonts = {
+        serif = [
+          "Sarasa Gothic C"
+          "Sarasa Gothic J"
+          "Sarasa Gothic K"
+        ];
+
+        sansSerif = [
+          "Sarasa Gothic C"
+          "Sarasa Gothic J"
+          "Sarasa Gothic K"
+        ];
+
+        monospace = [
+          "CtrlD"
+          "scientifica"
+          "Iosevka Pure"
+          "Iosevka Nerd Font"
+          "JetBrainsMono Nerd Font"
+        ];
+
+        emoji = [
+          "Siji"
+          "Twitter Color Emoji"
+        ];
+      };
+    };
+  };
+
   programs = {
     sway = {
       enable = true;
diff --git a/nixos/default.nix b/nixos/default.nix
index 211f3d5..edf3622 100644
--- a/nixos/default.nix
+++ b/nixos/default.nix
@@ -4,6 +4,7 @@
   alpha = self.lib.mkSystem {
     name = "alpha";
     nixpkgs = nixpkgs;
+    overlays = with inputs; [ chaotic-nixpkgs.overlay ];
     extraModules = [
       inputs.sops-nix.nixosModules.sops
       ./modules/security.nix