From 94018dba5a6e32d63186b70b4c2594edf40ee410 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Tue, 1 Oct 2024 09:30:15 +0100 Subject: [PATCH] Revert "Don't autostart twinkle or teams" This reverts commit 84f0d90de1a71deca4f9584c3e36e728141130cf. --- system/home/work.nix | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/system/home/work.nix b/system/home/work.nix index 6fb941ce..23fcad24 100644 --- a/system/home/work.nix +++ b/system/home/work.nix @@ -16,12 +16,16 @@ proton.primary = lib.mkForce false; outlook.primary = lib.mkForce true; }; - xdg.configFile."teams-for-linux/config.json".text = builtins.toJSON { - awayOnSystemIdle = true; - closeAppOnCross = false; - followSystemTheme = true; - notificationMethod = "electron"; - optInTeamsV2 = true; - spellCheckerLanguages = [ "en_GB" ]; + xdg.configFile = { + "autostart/twinkle.desktop".source = "${pkgs.twinkle}/share/applications/twinkle.desktop"; + "autostart/teams-for-linux.desktop".source = "${pkgs.teams-for-linux}/share/applications/teams-for-linux.desktop"; + "teams-for-linux/config.json".text = builtins.toJSON { + awayOnSystemIdle = true; + closeAppOnCross = false; + followSystemTheme = true; + notificationMethod = "electron"; + optInTeamsV2 = true; + spellCheckerLanguages = [ "en_GB" ]; + }; }; }