diff options
author | Profpatsch <mail@profpatsch.de> | 2016-07-15 13:56:23 +0200 |
---|---|---|
committer | Profpatsch <mail@profpatsch.de> | 2016-07-15 14:07:18 +0200 |
commit | 02b2af62096f88078a4099aab1fa2f5950be3237 (patch) | |
tree | 772a5a714e0866fed2dba7514917ad711c883981 | |
parent | 6df30f3f10edd5fab82bf2eb57ce47430124ac54 (diff) |
machines/hannswurscht: enable pulseaudio streaming
-rw-r--r-- | machines/labnet/labtops.nix | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/machines/labnet/labtops.nix b/machines/labnet/labtops.nix index cc524fbd..bc50bc1e 100644 --- a/machines/labnet/labtops.nix +++ b/machines/labnet/labtops.nix @@ -16,6 +16,19 @@ hannswurscht = { vuizvui.user.openlab.base.enable = true; + nixpkgs.system = "i686-linux"; + + users.users.openlab.extraGroups = [ "audio" ]; + + hardware.pulseaudio = { + enable = true; + systemWide = true; + tcp.enable = true; + tcp.anonymousClients.allowedIpRanges = [ "172.16.0.0/16" ]; + zeroconf.publish.enable = true; + }; + + services.logind.extraConfig = "HandleLidSwitch=ignore"; }; } |