- hardware-configuration.nix separated into kernel-winter.nix and filesystem-winter.nix - kernel.nix split off into kernel-winter.nix
14 lines
373 B
Nix
14 lines
373 B
Nix
{ config, pkgs, ... }: {
|
|
boot = {
|
|
blacklistedKernelModules = [ "uvcvideo" ];
|
|
initrd = {
|
|
includeDefaultModules = false;
|
|
availableKernelModules = [ "ehci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" "sdhci_pci" ];
|
|
};
|
|
kernel.sysctl = {
|
|
"kernel.core_pattern" = "|/bin/false";
|
|
"kernel.sysrq" = 1;
|
|
};
|
|
};
|
|
zramSwap.enable = true;
|
|
}
|