diff --git a/nixos/layers/teamspeak.nix b/nixos/layers/teamspeak.nix new file mode 100644 index 0000000000000000000000000000000000000000..52f4541633fb1ff618ca264ca1cc791f36213190 --- /dev/null +++ b/nixos/layers/teamspeak.nix @@ -0,0 +1,26 @@ +{ pkgs, ... }: + +{ + imports = [ + # remove once multi-user audio works + ./steam.nix + ]; + + # remove once multi-user audio works + users.users.steam = { + packages = with pkgs; [ + teamspeak_client + ]; + }; + + users.users.teamspeak = { + uid = 1200; + isNormalUser = true; + packages = with pkgs; [ + teamspeak_client + ]; + extraGroups = [ + "audio" + ]; + }; +} \ No newline at end of file