refactor
This commit is contained in:
parent
dc87a6ebe0
commit
d414ff36ce
1 changed files with 3 additions and 3 deletions
|
|
@ -13,14 +13,14 @@
|
||||||
boot = {
|
boot = {
|
||||||
# Initial ramdisk
|
# Initial ramdisk
|
||||||
initrd = {
|
initrd = {
|
||||||
# The modules listed here are available in the initrd, but are only loaded on demand.
|
|
||||||
availableKernelModules = ["nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod"];
|
|
||||||
# List of modules that are always loaded by the initrd.
|
# List of modules that are always loaded by the initrd.
|
||||||
kernelModules = ["kvm-amd" "amdgpu"];
|
kernelModules = ["kvm-amd" "amdgpu"];
|
||||||
|
# The modules listed here are available in the initrd, but are only loaded on demand.
|
||||||
|
availableKernelModules = ["nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod"];
|
||||||
};
|
};
|
||||||
|
|
||||||
# Linux kernel used by NixOS.
|
# Linux kernel used by NixOS.
|
||||||
kernelPackages = pkgs.linuxPackages_latest;
|
kernelPackages = pkgs.linuxPackages;
|
||||||
# Parameters added to the kernel command line.
|
# Parameters added to the kernel command line.
|
||||||
kernelParams = [
|
kernelParams = [
|
||||||
# Enable amdgpu driver sysfs API that allows fine grain control of GPU
|
# Enable amdgpu driver sysfs API that allows fine grain control of GPU
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue