diff --git a/nixos/hosts/ioides/configuration.nix b/nixos/hosts/ioides/configuration.nix index 1db5d0b..8915739 100644 --- a/nixos/hosts/ioides/configuration.nix +++ b/nixos/hosts/ioides/configuration.nix @@ -28,17 +28,25 @@ networking.hostName = "ioides"; services = { - xserver.videoDrivers = [ "nvidia" ]; + xserver.videoDrivers = [ "nvidia" "modesetting" "fbdev" ]; }; - hardware.nvidia = { - modesetting.enable = true; - powerManagement = { - enable = false; - finegrained = false; + hardware = { + nvidia = { + modesetting.enable = true; + powerManagement = { + enable = false; + finegrained = false; + }; + open = false; + nvidiaSettings = true; + package = config.boot.kernelPackages.nvidiaPackages.stable; + }; + opengl = { + enable = true; + extraPackages = with pkgs; [ + intel-media-sdk + ]; }; - open = false; - nvidiaSettings = true; - package = config.boot.kernelPackages.nvidiaPackages.stable; }; fonts.fontconfig.subpixel.rgba = "rgb";