mirror of
https://git.adityakumar.xyz/nix-conf.git
synced 2024-11-14 00:59:44 +00:00
15 lines
454 B
Nix
15 lines
454 B
Nix
{pkgs, ...}: {
|
|
boot = {
|
|
kernelModules = ["kvm-intel" "snd-hda-intel" "i8042" "nf_nat_ftp"];
|
|
extraModprobeConfig = ''
|
|
options snd-hda-intel model=alc255-acer,dell-headset-multi
|
|
options i8042 nopnp=1
|
|
'';
|
|
kernelParams = ["allow-discards"];
|
|
kernel.sysctl = {
|
|
"net.ipv4.conf.all.forwarding" = true;
|
|
"net.ipv4.conf.default.forwarding" = true;
|
|
};
|
|
};
|
|
hardware.firmware = with pkgs; [firmwareLinuxNonfree];
|
|
}
|