hosts/orcim: set higher dpi, console font and format files

This commit is contained in:
Aaron Bieber 2024-02-07 08:14:51 -07:00
parent bfd4958a71
commit b9c0470694
No known key found for this signature in database
2 changed files with 18 additions and 6 deletions

View File

@ -12,7 +12,12 @@ in
./hardware-configuration.nix ./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 = { boot = {
loader = { loader = {
@ -22,8 +27,9 @@ in
kernelPackages = pkgs.linuxPackages_latest; kernelPackages = pkgs.linuxPackages_latest;
kernelParams = [ kernelParams = [
"gpd-pocket-fan.speed_on_ac=0"
"fbcon=rotate:1" "fbcon=rotate:1"
"gpd-pocket-fan.speed_on_ac=0"
"video=DSI-1:panel_orientation=right_side_up"
]; ];
kernelModules = [ "btusb" "kvm-intel" ]; kernelModules = [ "btusb" "kvm-intel" ];
@ -49,6 +55,7 @@ in
}; };
}; };
nixpkgs.config.allowUnsupportedSystem = true; nixpkgs.config.allowUnsupportedSystem = true;
networking = { networking = {
@ -76,6 +83,7 @@ in
kde.enable = true; kde.enable = true;
services = { services = {
xserver.dpi = 200;
power-profiles-daemon.enable = false; power-profiles-daemon.enable = false;
tlp = { tlp = {
enable = true; enable = true;

View File

@ -7,10 +7,14 @@
(modulesPath + "/installer/scan/not-detected.nix") (modulesPath + "/installer/scan/not-detected.nix")
]; ];
boot.initrd.availableKernelModules = [ "xhci_pci" "usbhid" "usb_storage" "sd_mod" "sdhci_acpi" ]; boot = {
boot.initrd.kernelModules = [ ]; initrd = {
boot.kernelModules = [ "kvm-intel" ]; availableKernelModules = [ "xhci_pci" "usbhid" "usb_storage" "sd_mod" "sdhci_acpi" ];
boot.extraModulePackages = [ ]; kernelModules = [ ];
};
kernelModules = [ "kvm-intel" ];
extraModulePackages = [ ];
};
fileSystems."/" = fileSystems."/" =
{ {