Commit 41d3699

HPCesia <me@hpcesia.com>
2025-07-29 12:20:50
feat: modify kmscon config
1 parent 8bbca17
Changed files (2)
hosts
chaser-kevin
modules
nixos
desktop
hosts/chaser-kevin/miscs.nix
@@ -32,6 +32,8 @@
   # √(3200² + 2000²) px / 16 in ≃ 235 dpi
   services.xserver.dpi = 235;
 
+  services.kmscon.extraConfig = "font-size=22";
+
   # Mihomo
   services.mihomo.enable = true;
 }
modules/nixos/desktop/fonts.nix
@@ -1,4 +1,8 @@
-{pkgs, ...}: {
+{
+  pkgs,
+  lib,
+  ...
+}: {
   fonts = {
     enableDefaultPackages = false;
     fontDir.enable = true;
@@ -47,7 +51,7 @@
       }
     ];
     extraOptions = "--term xterm-256color";
-    extraConfig = "font-size=12";
+    extraConfig = lib.mkDefault "font-size=12";
     # Whether to use 3D hardware acceleration to render the console.
     hwRender = true;
   };