about summary refs log tree commit diff
path: root/users/tazjin/nixos/tverskoy
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-05-09T13·26+0200
committertazjin <tazjin@tvl.su>2022-05-10T13·41+0000
commit155902744bae2c8287742232025fb1659f727f50 (patch)
tree01e80f9a83f6af5d391a8b4ed571ea69d98289df /users/tazjin/nixos/tverskoy
parentdd2ae8552fc871fbbb69589a8dbd65441828a378 (diff)
refactor(tazjin/nixos): Extract font configuration module r/4041
Change-Id: I067d832155db61fb426ea3435e038231f321f71a
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5545
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: tazjin <tazjin@tvl.su>
Diffstat (limited to 'users/tazjin/nixos/tverskoy')
-rw-r--r--users/tazjin/nixos/tverskoy/default.nix20
1 files changed, 1 insertions, 19 deletions
diff --git a/users/tazjin/nixos/tverskoy/default.nix b/users/tazjin/nixos/tverskoy/default.nix
index b789e50d43f3..c2a8367846c4 100644
--- a/users/tazjin/nixos/tverskoy/default.nix
+++ b/users/tazjin/nixos/tverskoy/default.nix
@@ -15,6 +15,7 @@ lib.fix (self: {
   imports = [
     (mod "open_eid.nix")
     (usermod "physical.nix")
+    (usermod "fonts.nix")
     "${depot.third_party.impermanence}/nixos.nix"
     "${pkgs.home-manager.src}/nixos"
   ] ++ lib.optional (builtins.pathExists ./local-config.nix) ./local-config.nix;
@@ -108,25 +109,6 @@ lib.fix (self: {
     ];
   };
 
-  fonts = {
-    fonts = with pkgs; [
-      corefonts
-      dejavu_fonts
-      jetbrains-mono
-      noto-fonts-cjk
-      noto-fonts-emoji
-    ];
-
-    fontconfig = {
-      hinting.enable = true;
-      subpixel.lcdfilter = "light";
-
-      defaultFonts = {
-        monospace = [ "JetBrains Mono" ];
-      };
-    };
-  };
-
   environment.persistence."/persist" = {
     directories = [
       "/etc/NetworkManager/system-connections"