chore: remove use of soon-to-be deprecated hidpi option

This commit is contained in:
oddlama 2023-03-23 16:50:33 +01:00
parent f9bf4f8e32
commit 81fb519e88
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
2 changed files with 6 additions and 11 deletions

View file

@ -32,14 +32,7 @@ in {
time.timeZone = lib.mkDefault "Europe/Berlin"; time.timeZone = lib.mkDefault "Europe/Berlin";
i18n.defaultLocale = "C.UTF-8"; i18n.defaultLocale = "C.UTF-8";
console = console.keyMap = "de-latin1-nodeadkeys";
{
keyMap = "de-latin1-nodeadkeys";
}
// lib.optionalAttrs config.hardware.video.hidpi.enable {
font = "ter-v28n";
packages = with pkgs; [terminus_font];
};
hardware = { hardware = {
enableRedistributableFirmware = true; enableRedistributableFirmware = true;

View file

@ -29,8 +29,10 @@
boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod"]; boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod"];
hardware = { hardware.opengl.enable = true;
video.hidpi.enable = true;
opengl.enable = true; console = {
font = "ter-v28n";
packages = with pkgs; [terminus_font];
}; };
} }