From b9c04706940cb796a4ada9eed01ecf489b5e9ee4 Mon Sep 17 00:00:00 2001 From: Aaron Bieber Date: Wed, 7 Feb 2024 08:14:51 -0700 Subject: [PATCH] hosts/orcim: set higher dpi, console font and format files --- hosts/orcim/default.nix | 12 ++++++++++-- hosts/orcim/hardware-configuration.nix | 12 ++++++++---- 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/hosts/orcim/default.nix b/hosts/orcim/default.nix index 36ac9b1..262fdbd 100644 --- a/hosts/orcim/default.nix +++ b/hosts/orcim/default.nix @@ -12,7 +12,12 @@ in ./hardware-configuration.nix ]; - hardware.rtl-sdr.enable = true; + hardware = { + rtl-sdr.enable = true; + }; + + console.font = "${pkgs.terminus_font}/share/consolefonts/ter-v32n.psf.gz"; + console.earlySetup = true; boot = { loader = { @@ -22,8 +27,9 @@ in kernelPackages = pkgs.linuxPackages_latest; kernelParams = [ - "gpd-pocket-fan.speed_on_ac=0" "fbcon=rotate:1" + "gpd-pocket-fan.speed_on_ac=0" + "video=DSI-1:panel_orientation=right_side_up" ]; kernelModules = [ "btusb" "kvm-intel" ]; @@ -49,6 +55,7 @@ in }; }; + nixpkgs.config.allowUnsupportedSystem = true; networking = { @@ -76,6 +83,7 @@ in kde.enable = true; services = { + xserver.dpi = 200; power-profiles-daemon.enable = false; tlp = { enable = true; diff --git a/hosts/orcim/hardware-configuration.nix b/hosts/orcim/hardware-configuration.nix index d43fb2b..611bc98 100644 --- a/hosts/orcim/hardware-configuration.nix +++ b/hosts/orcim/hardware-configuration.nix @@ -7,10 +7,14 @@ (modulesPath + "/installer/scan/not-detected.nix") ]; - boot.initrd.availableKernelModules = [ "xhci_pci" "usbhid" "usb_storage" "sd_mod" "sdhci_acpi" ]; - boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ "kvm-intel" ]; - boot.extraModulePackages = [ ]; + boot = { + initrd = { + availableKernelModules = [ "xhci_pci" "usbhid" "usb_storage" "sd_mod" "sdhci_acpi" ]; + kernelModules = [ ]; + }; + kernelModules = [ "kvm-intel" ]; + extraModulePackages = [ ]; + }; fileSystems."/" = {