Commit 95b1b8d31c9e

Vincent Demeester <vincent@sbr.pm>
2016-09-15 22:15:30
Add pulseaudio for audio :)
1 parent 223ec1b
audio.nix
@@ -0,0 +1,17 @@
+{ config, pkgs, ... }:
+
+{
+	hardware = {
+		pulseaudio = {
+			enable = true;
+			support32Bit = true;
+		};
+	};
+
+	environment.systemPackages = with pkgs; [
+		pavucontrol
+		pasystray
+	];
+
+	services.xserver.displayManager.sessionCommands = "${pkgs.pasystray}/bin/pasystray &";
+}
configuration.nix
@@ -11,6 +11,7 @@
 			./keyboard.nix
                         ./acpi.nix
 			./network.nix
+			./audio.nix
 			./gui.nix
 			./users.nix
 			./packages.nix