summaryrefslogtreecommitdiff
path: root/hosts/larissa/hardware-configuration.nix
diff options
context:
space:
mode:
authorLeonardo Santiago <[email protected]>2024-06-03 10:41:45 -0300
committerLeonardo Santiago <[email protected]>2024-06-03 10:41:45 -0300
commit2af6761a8cacab8f421f1ce4043cc5f998f30192 (patch)
tree1f5c0cfb830dd35050f76f3107db2cadaf9b5b51 /hosts/larissa/hardware-configuration.nix
parent36e878561fb7abc823d2ea8e85e6ef74b65d6d48 (diff)
more stuff
Diffstat (limited to 'hosts/larissa/hardware-configuration.nix')
-rw-r--r--hosts/larissa/hardware-configuration.nix12
1 files changed, 10 insertions, 2 deletions
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 = [ ];