From 81fb519e885ea7e7fa5cacdf1c62e5be15fc6612 Mon Sep 17 00:00:00 2001 From: oddlama Date: Thu, 23 Mar 2023 16:50:33 +0100 Subject: [PATCH] chore: remove use of soon-to-be deprecated hidpi option --- hosts/common/core/default.nix | 9 +-------- hosts/nom/default.nix | 8 +++++--- 2 files changed, 6 insertions(+), 11 deletions(-) diff --git a/hosts/common/core/default.nix b/hosts/common/core/default.nix index 5e6ca52..f404c21 100644 --- a/hosts/common/core/default.nix +++ b/hosts/common/core/default.nix @@ -32,14 +32,7 @@ in { time.timeZone = lib.mkDefault "Europe/Berlin"; i18n.defaultLocale = "C.UTF-8"; - console = - { - keyMap = "de-latin1-nodeadkeys"; - } - // lib.optionalAttrs config.hardware.video.hidpi.enable { - font = "ter-v28n"; - packages = with pkgs; [terminus_font]; - }; + console.keyMap = "de-latin1-nodeadkeys"; hardware = { enableRedistributableFirmware = true; diff --git a/hosts/nom/default.nix b/hosts/nom/default.nix index 5dd48fc..d24eab3 100644 --- a/hosts/nom/default.nix +++ b/hosts/nom/default.nix @@ -29,8 +29,10 @@ boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod"]; - hardware = { - video.hidpi.enable = true; - opengl.enable = true; + hardware.opengl.enable = true; + + console = { + font = "ter-v28n"; + packages = with pkgs; [terminus_font]; }; }