about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2023-03-26 10:31:09 -0700
committerFranck Cuny <franck@fcuny.net>2023-03-26 10:31:09 -0700
commitfd63b122116ae2a0d016e8a6059f6c806b9cb0a5 (patch)
tree60a879d663c645e4292ae02a4b84da69865f650d
parenthosts/tahoe: set a larger font for the TTYs (diff)
downloadworld-fd63b122116ae2a0d016e8a6059f6c806b9cb0a5.tar.gz
modules/console: larger font for EVERYONE
-rw-r--r--hosts/tahoe/default.nix8
-rw-r--r--modules/system/console/default.nix4
2 files changed, 3 insertions, 9 deletions
diff --git a/hosts/tahoe/default.nix b/hosts/tahoe/default.nix
index 12f7688..64377b8 100644
--- a/hosts/tahoe/default.nix
+++ b/hosts/tahoe/default.nix
@@ -10,14 +10,6 @@
     isSystemUser = true;
   };
 
-  # larger fonts for the TTYs
-  console = {
-    earlySetup = true;
-    font = "${pkgs.terminus_font}/share/consolefonts/ter-132n.psf.gz";
-    packages = with pkgs; [ terminus_font ];
-    keyMap = "us";
-  };
-
   # This value determines the NixOS release from which the default
   # settings for stateful data, like file locations and database versions
   # on your system were taken. It‘s perfectly fine and recommended to leave
diff --git a/modules/system/console/default.nix b/modules/system/console/default.nix
index c9c24b0..b9ef762 100644
--- a/modules/system/console/default.nix
+++ b/modules/system/console/default.nix
@@ -1,6 +1,8 @@
 { ... }: {
   console = {
-    font = "Lat2-Terminus16";
+    earlySetup = true;
+    font = "${pkgs.terminus_font}/share/consolefonts/ter-132n.psf.gz";
+    packages = with pkgs; [ terminus_font ];
     keyMap = "us";
   };
 }