From d1c2805eb5db481295d983700fb5123a9b5db809 Mon Sep 17 00:00:00 2001 From: Elis Hirwing Date: Fri, 22 Feb 2019 07:23:59 +0100 Subject: [PATCH] profiles/graphical.nix: Enable pulseaudio for virtualbox appliances --- nixos/modules/profiles/graphical.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nixos/modules/profiles/graphical.nix b/nixos/modules/profiles/graphical.nix index fba756391b11..649f5564ac61 100644 --- a/nixos/modules/profiles/graphical.nix +++ b/nixos/modules/profiles/graphical.nix @@ -14,5 +14,9 @@ libinput.enable = true; # for touchpad support on many laptops }; + # Enable sound in virtualbox appliances. + hardware.pulseaudio.enable = true; + hardware.pulseaudio.systemWide = true; # Needed since we run plasma as root. + environment.systemPackages = [ pkgs.glxinfo pkgs.firefox ]; }