about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorElis Hirwing <elis@hirwing.se>2019-02-21 23:04:33 +0100
committerElis Hirwing <elis@hirwing.se>2019-02-21 23:04:33 +0100
commit6483e75afac551a19eb719969e4086881480767d (patch)
treea7be44df0d75127e651aaee34767c964e008e6b8 /nixos
parentf3294b93ecb81549cad6def9c6828a2c6a716b3c (diff)
downloadnixlib-6483e75afac551a19eb719969e4086881480767d.tar
nixlib-6483e75afac551a19eb719969e4086881480767d.tar.gz
nixlib-6483e75afac551a19eb719969e4086881480767d.tar.bz2
nixlib-6483e75afac551a19eb719969e4086881480767d.tar.lz
nixlib-6483e75afac551a19eb719969e4086881480767d.tar.xz
nixlib-6483e75afac551a19eb719969e4086881480767d.tar.zst
nixlib-6483e75afac551a19eb719969e4086881480767d.zip
installer: Enable pulseaudio in all graphical iso's
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/installer/cd-dvd/installation-cd-graphical-base.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/nixos/modules/installer/cd-dvd/installation-cd-graphical-base.nix b/nixos/modules/installer/cd-dvd/installation-cd-graphical-base.nix
index 228ef371d252..917b3758d384 100644
--- a/nixos/modules/installer/cd-dvd/installation-cd-graphical-base.nix
+++ b/nixos/modules/installer/cd-dvd/installation-cd-graphical-base.nix
@@ -31,6 +31,10 @@ with lib;
   # there is no power management backend such as upower).
   powerManagement.enable = true;
 
+  # Enable sound in graphical iso's.
+  hardware.pulseaudio.enable = true;
+  hardware.pulseaudio.systemWide = true; # Needed since we run plasma as root.
+
   environment.systemPackages = [
     # Include gparted for partitioning disks.
     pkgs.gparted