mirror of
https://git.adityakumar.xyz/nix-conf.git
synced 2024-11-22 03:52:53 +00:00
move firmware option to kernel
This commit is contained in:
parent
9177bf6c02
commit
463b9dff23
2 changed files with 3 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
{pkgs, ...}: {
|
{pkgs, ...}: {
|
||||||
hardware = {
|
hardware = {
|
||||||
firmware = with pkgs; [firmwareLinuxNonfree];
|
#firmware = with pkgs; [firmwareLinuxNonfree];
|
||||||
opengl = {
|
opengl = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraPackages = with pkgs; [vaapiIntel vaapiVdpau libvdpau-va-gl intel-media-driver];
|
extraPackages = with pkgs; [vaapiIntel vaapiVdpau libvdpau-va-gl intel-media-driver];
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
_: {
|
{pkgs, ...}: {
|
||||||
boot = {
|
boot = {
|
||||||
kernelModules = ["kvm-intel" "snd-hda-intel" "i8042" "nf_nat_ftp"];
|
kernelModules = ["kvm-intel" "snd-hda-intel" "i8042" "nf_nat_ftp"];
|
||||||
extraModprobeConfig = ''
|
extraModprobeConfig = ''
|
||||||
|
@ -10,5 +10,6 @@ _: {
|
||||||
"net.ipv4.conf.all.forwarding" = true;
|
"net.ipv4.conf.all.forwarding" = true;
|
||||||
"net.ipv4.conf.default.forwarding" = true;
|
"net.ipv4.conf.default.forwarding" = true;
|
||||||
};
|
};
|
||||||
|
hardware.firmware = with pkgs; [firmwareLinuxNonfree];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue