Adjust nixos-framework config

This commit is contained in:
iFargle 2024-02-01 12:19:01 +09:00
parent 1f5bf07e97
commit ff72251ce6

View file

@ -3,12 +3,12 @@
inputs.nixos-hardware.nixosModules.framework-13-7040-amd
(modulesPath + "/installer/scan/not-detected.nix")
./disks.nix
./hibernate.nix
# ./hibernate.nix
../../common/services/tailscale-autoconnect.nix
../../common/modules/secureboot.nix
../../common/modules/udev-rules.nix
../../common/modules/ssh-luks.nix
../../common/services/tlp.nix
# ../../common/services/tlp.nix
];
services.fwupd.enable = true;
@ -20,11 +20,10 @@
inherit (pkgs) system;
}).fwupd;
powerManagement.enable = true;
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "thunderbolt" ];
boot.initrd.kernelModules = [ "amdgpu" ];
boot.kernelModules = [ "kvm-amd" "acpi_call" ];
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "thunderbolt" "usb_storage" "uas" "sd_mod" ];
boot.initrd.kernelModules = [ "dm-snapshot" ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
boot.kernelPackages = pkgs.linuxPackages_latest;
# boot.extraModulePackages = with config.boot.kernelPackages; [ acpi_call ];