From 907d306fc8164d923c1dae8bdb5ebce073ff0121 Mon Sep 17 00:00:00 2001 From: Michael Mandl Date: Mon, 15 Jan 2024 08:12:22 +0100 Subject: [PATCH] feat: override console font on p330 --- configuration.nix | 4 ++-- machines/p330/hardware-configuration.nix | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/configuration.nix b/configuration.nix index 974ec05..ab0dc7b 100644 --- a/configuration.nix +++ b/configuration.nix @@ -1,4 +1,4 @@ -{ config, pkgs, ... }: +{ config, pkgs, lib, ... }: { nixpkgs.config.allowUnfree = true; @@ -60,7 +60,7 @@ i18n.defaultLocale = "en_US.UTF-8"; console = { - font = "ter-u24n"; + font = lib.mkDefault "ter-u24n"; keyMap = "de-latin1-nodeadkeys"; packages = with pkgs; [ terminus_font ]; earlySetup = true; diff --git a/machines/p330/hardware-configuration.nix b/machines/p330/hardware-configuration.nix index 602988a..120d4b7 100644 --- a/machines/p330/hardware-configuration.nix +++ b/machines/p330/hardware-configuration.nix @@ -44,4 +44,6 @@ [{ device = "/dev/disk/by-uuid/b90199d6-05e8-4994-bf9d-7b07f10d583e"; }]; networking.useDHCP = lib.mkDefault true; + + console.font = "ter-u32n"; }