forked from mirrors_public/oddlama_nix-config
feat: teamspeak my love, why have I ever left
This commit is contained in:
parent
bb03891d1d
commit
36c011b89b
2 changed files with 18 additions and 1 deletions
17
users/myuser/graphical/ts3.nix
Normal file
17
users/myuser/graphical/ts3.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
{pkgs, ...}: let
|
||||
ts3 = pkgs.writeShellApplication {
|
||||
name = "teamspeak3";
|
||||
runtimeInputs = [
|
||||
pkgs.teamspeak_client
|
||||
];
|
||||
text = ''
|
||||
export TS3_CONFIG_DIR=".config/teamspeak3"
|
||||
exec ts3client
|
||||
'';
|
||||
};
|
||||
in {
|
||||
home.packages = [ts3];
|
||||
home.persistence."/persist".directories = [
|
||||
".config/teamspeak3"
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue