hosts/Infini-STICK: update configuration for framework

This commit is contained in:
Infinidoge 2021-11-02 10:43:33 -04:00
parent 037e4c699e
commit 42cc016156
2 changed files with 5 additions and 4 deletions

View file

@ -10,6 +10,7 @@
(with hardware; [ (with hardware; [
sound sound
gpu.amdgpu gpu.amdgpu
gpu.intel
laptop laptop
]) ])
@ -19,7 +20,7 @@
./hardware-configuration.nix ./hardware-configuration.nix
]; ];
networking.interfaces.wlp1s0.useDHCP = true; networking.interfaces.wlp170s0.useDHCP = true;
system.stateVersion = "21.11"; system.stateVersion = "21.11";
} }

View file

@ -8,9 +8,9 @@
(modulesPath + "/installer/scan/not-detected.nix") (modulesPath + "/installer/scan/not-detected.nix")
]; ];
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ]; boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "thunderbolt" "ahci" "usb_storage" "usbhid" "sd_mod" ];
boot.initrd.kernelModules = [ ]; boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ]; boot.kernelModules = [ "kvm-amd" "kvm-intel" ];
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
boot.kernelParams = [ "boot.shell_on_fail" ]; boot.kernelParams = [ "boot.shell_on_fail" ];
boot.supportedFilesystems = [ "btrfs" ]; boot.supportedFilesystems = [ "btrfs" ];
@ -26,5 +26,5 @@
fsType = "vfat"; fsType = "vfat";
}; };
powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand"; powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
} }