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