summary refs log tree commit diff
path: root/nixos/modules/profiles/graphical.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/profiles/graphical.nix')
-rw-r--r--nixos/modules/profiles/graphical.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/nixos/modules/profiles/graphical.nix b/nixos/modules/profiles/graphical.nix
index fba756391b1..649f5564ac6 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 ];
 }