From 2af6761a8cacab8f421f1ce4043cc5f998f30192 Mon Sep 17 00:00:00 2001 From: Leonardo Santiago Date: Mon, 3 Jun 2024 10:41:45 -0300 Subject: more stuff --- hosts/larissa/hardware-configuration.nix | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'hosts/larissa/hardware-configuration.nix') diff --git a/hosts/larissa/hardware-configuration.nix b/hosts/larissa/hardware-configuration.nix index 177fcb5..4a17244 100644 --- a/hosts/larissa/hardware-configuration.nix +++ b/hosts/larissa/hardware-configuration.nix @@ -1,15 +1,23 @@ # Do not modify this file! It was generated by ‘nixos-generate-config’ # and may be overwritten by future invocations. Please make changes # to /etc/nixos/configuration.nix instead. -{ config, lib, pkgs, modulesPath, ... }: +{ config, lib, modulesPath, inputs, pkgs, ... }: { imports = [ (modulesPath + "/installer/scan/not-detected.nix") + inputs.nixos-hardware.nixosModules.framework-13-7040-amd ]; - boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "thunderbolt" "usb_storage" "sd_mod" ]; + boot.initrd.availableKernelModules = [ + "nvme" + "xhci_pci" + "thunderbolt" + "usb_storage" + "sd_mod" + ]; boot.initrd.kernelModules = [ ]; + boot.kernelPackages = pkgs.linuxPackages_latest; boot.kernelModules = [ "kvm-amd" ]; boot.kernelParams = lib.optionals (lib.versionOlder config.boot.kernelPackages.kernel.version "6.8") ["rtc_cmos.use_acpi_alarm=1"] ; boot.extraModulePackages = [ ]; -- cgit v1.2.3