diff --git a/modules/nixos/hardware/default.nix b/modules/nixos/hardware/default.nix index bf7cafa..77c6f93 100644 --- a/modules/nixos/hardware/default.nix +++ b/modules/nixos/hardware/default.nix @@ -1,6 +1,6 @@ {pkgs, ...}: { hardware = { - firmware = with pkgs; [firmwareLinuxNonfree]; + #firmware = with pkgs; [firmwareLinuxNonfree]; opengl = { enable = true; extraPackages = with pkgs; [vaapiIntel vaapiVdpau libvdpau-va-gl intel-media-driver]; diff --git a/modules/nixos/kernel/default.nix b/modules/nixos/kernel/default.nix index 42a6c05..d78ed6a 100644 --- a/modules/nixos/kernel/default.nix +++ b/modules/nixos/kernel/default.nix @@ -1,4 +1,4 @@ -_: { +{pkgs, ...}: { boot = { kernelModules = ["kvm-intel" "snd-hda-intel" "i8042" "nf_nat_ftp"]; extraModprobeConfig = '' @@ -10,5 +10,6 @@ _: { "net.ipv4.conf.all.forwarding" = true; "net.ipv4.conf.default.forwarding" = true; }; + hardware.firmware = with pkgs; [firmwareLinuxNonfree]; }; }