Commit f12ea07

HPCesia <me@hpcesia.com>
2025-10-23 20:59:45
feat: update kmscon config
Remove useless font config
1 parent 32866ce
Changed files (1)
modules
desktop
modules/desktop/kmscon.nix
@@ -1,5 +1,5 @@
 {lib, ...}: {
-  flake.modules.nixos.desktop = {pkgs, ...}: {
+  flake.modules.nixos.desktop = _: {
     # https://wiki.archlinux.org/title/KMSCON
     services.kmscon = {
       # Use kmscon as the virtual console instead of gettys.
@@ -7,12 +7,6 @@
       # It supports a richer feature set than the standard linux console VT,
       # including full unicode support, and when the video card supports drm should be much faster.
       enable = true;
-      fonts = [
-        {
-          name = "JetBrains Mono";
-          package = pkgs.jetbrains-mono;
-        }
-      ];
       extraOptions = "--term xterm-256color";
       extraConfig = lib.mkDefault "font-size=12";
       # Whether to use 3D hardware acceleration to render the console.