From 73d1d765cc7bc8c23f0c2c1046fa7cddee8339e9 Mon Sep 17 00:00:00 2001
From: Oliver Davies <oliver@oliverdavies.uk>
Date: Thu, 24 Aug 2023 22:39:35 +0100
Subject: [PATCH] chore(nixos): use Fira Code Mono

---
 system/nixos/configuration.nix        | 11 +++++++++--
 system/nixos/home-manager-desktop.nix | 14 +++++++-------
 2 files changed, 16 insertions(+), 9 deletions(-)

diff --git a/system/nixos/configuration.nix b/system/nixos/configuration.nix
index 67493a59..a0ab8870 100644
--- a/system/nixos/configuration.nix
+++ b/system/nixos/configuration.nix
@@ -150,7 +150,7 @@ in
   # List services that you want to enable:
 
   # Enable the OpenSSH daemon.
-  # services.openssh.enable = true;
+  services.openssh.enable = true;
 
   # Open ports in the firewall.
   # networking.firewall.allowedTCPPorts = [ ... ];
@@ -177,11 +177,18 @@ in
     fontconfig = {
       enable = true;
       defaultFonts = {
-        monospace = [ "IntelOne Mono" ];
+        monospace = [ "Fira Code Nerd Font Mono" ];
       };
     };
     fonts = with pkgs; [
       intel-one-mono
+      (nerdfonts.override {
+        fonts = [
+          "FiraCode"
+          "JetBrainsMono"
+          "Meslo"
+        ];
+      })
     ];
   };
 
diff --git a/system/nixos/home-manager-desktop.nix b/system/nixos/home-manager-desktop.nix
index 65b4de41..2f54ad0e 100644
--- a/system/nixos/home-manager-desktop.nix
+++ b/system/nixos/home-manager-desktop.nix
@@ -67,7 +67,7 @@
           };
 
           fonts = {
-            names = [ "DejaVu Sans Mono" ];
+            names = [ "Fira Code Nerd Font Mono" ];
             size = 16.0;
           };
 
@@ -230,15 +230,15 @@
       };
 
       font = {
-        size = 12.0;
+        size = 14.0;
 
-        normal.family = "IntelOne Mono";
-        italic.style = "Regular";
-        bolditalic.style = "Regular";
         bold.style = "Regular";
+        bolditalic.style = "Regular";
+        italic.style = "Regular";
+        normal.family = "Fira Code Nerd Font Mono";
 
-        offset.y = 12;
-        glyph_offset.y = 6;
+        offset.y = 14;
+        glyph_offset.y = 8;
       };
 
       shell = { program = "zsh"; };