From 62920a5ff0a47d1c9be8da678001158a7acf9a56 Mon Sep 17 00:00:00 2001 From: Julian Sutter Date: Tue, 24 Jan 2023 21:58:07 +0000 Subject: [PATCH] Update systems/aurora.nix --- systems/aurora.nix | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/systems/aurora.nix b/systems/aurora.nix index 7a4d945..4ff633b 100644 --- a/systems/aurora.nix +++ b/systems/aurora.nix @@ -1,8 +1,12 @@ - -{ config, pkgs, ... }: +{ config, lib, pkgs, modulesPath, ... }: { - imports = - [ - ]; + boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" ]; + boot.initrd.kernelModules = [ ]; + boot.kernelModules = [ "kvm-amd" ]; + boot.extraModulePackages = [ ]; + + nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; + hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; + hardware.video.hidpi.enable = lib.mkDefault true; }