From 09a40fbd6beafc705df1cd531f92073526fbe380 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Fri, 20 Dec 2019 16:19:20 +0000 Subject: [PATCH] working virtualbox --- nixos/boxes/foureighty.nix | 3 ++- nixos/shell-config.nix | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/nixos/boxes/foureighty.nix b/nixos/boxes/foureighty.nix index f1bb2c2b..d536c2a4 100644 --- a/nixos/boxes/foureighty.nix +++ b/nixos/boxes/foureighty.nix @@ -3,7 +3,7 @@ networking.hostName = "foureighty"; boot = { - kernelPackages = pkgs.linuxPackages_latest_hardened; + kernelPackages = pkgs.linuxPackages_hardened; extraModulePackages = with config.boot.kernelPackages; [ wireguard ]; initrd.kernelModules = [ "i915" ]; @@ -52,5 +52,6 @@ ../boot.nix ../common.nix ../gfx-intel.nix + ../virtualbox.nix ]; } diff --git a/nixos/shell-config.nix b/nixos/shell-config.nix index 08cabe99..a1f195e7 100644 --- a/nixos/shell-config.nix +++ b/nixos/shell-config.nix @@ -3,5 +3,8 @@ "webkitgtk-2.4.11" ]; allowUnfree = true; + packageOverrides = pkgs: { + vaapiIntel = pkgs.vaapiIntel.override { enableHybridCodec = true; }; + }; }