From 36c011b89be5307c640870083c57547239273330 Mon Sep 17 00:00:00 2001 From: oddlama Date: Thu, 11 Jul 2024 02:00:12 +0200 Subject: [PATCH] feat: teamspeak my love, why have I ever left --- users/myuser/graphical/default.nix | 2 +- users/myuser/graphical/ts3.nix | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 users/myuser/graphical/ts3.nix 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" + ]; +}