diff --git a/users/myuser/graphical/default.nix b/users/myuser/graphical/default.nix index 3ddf557..37cfc9f 100644 --- a/users/myuser/graphical/default.nix +++ b/users/myuser/graphical/default.nix @@ -12,6 +12,7 @@ ./signal.nix ./theme.nix ./thunderbird.nix + ./ts3.nix # X11 ./i3.nix @@ -75,7 +76,6 @@ "Pictures" # config.xdg.userDirs.pictures (infinite recursion) "Videos" # This is where I store clips from gpu-screen-recorder-gtk ".config/AusweisApp" - ".config/TeamSpeak" ".config/obsidian" ".config/gpu-screen-recorder" ".config/gh" diff --git a/users/myuser/graphical/ts3.nix b/users/myuser/graphical/ts3.nix new file mode 100644 index 0000000..88e9c72 --- /dev/null +++ b/users/myuser/graphical/ts3.nix @@ -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" + ]; +}