From 77a77727cf3b0d9b1c99cb4b2e115e03d0ad1158 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Fri, 5 Jul 2024 10:49:32 +0100 Subject: [PATCH] Move teams-for-linux to be installed in desktop/default.nix --- home/desktop/default.nix | 9 +++++++++ home/work.nix | 9 --------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/home/desktop/default.nix b/home/desktop/default.nix index 7f7e7a84..9a3a387d 100644 --- a/home/desktop/default.nix +++ b/home/desktop/default.nix @@ -8,6 +8,7 @@ libreoffice-fresh inkscape webcord + teams-for-linux kdePackages.krdc ]; services.syncthing.enable = true; @@ -28,5 +29,13 @@ XDG_PROJECTS_DIR = "${config.home.homeDirectory}/Projects"; }; }; + configFile."teams-for-linux/config.json".text = builtins.toJSON { + awayOnSystemIdle = true; + closeAppOnCross = true; + followSystemTheme = true; + notificationMethod = "electron"; + optInTeamsV2 = true; + spellCheckerLanguages = ["en_GB"]; + }; }; } diff --git a/home/work.nix b/home/work.nix index 37ef212e..ece8dcc1 100644 --- a/home/work.nix +++ b/home/work.nix @@ -6,7 +6,6 @@ }: { home.packages = with pkgs; [ twinkle - teams-for-linux (import ./scripts/ukaea-vpn.nix pkgs) ]; programs = { @@ -17,12 +16,4 @@ proton.primary = lib.mkForce false; outlook.primary = lib.mkForce true; }; - xdg.configFile."teams-for-linux/config.json".text = builtins.toJSON { - awayOnSystemIdle = true; - closeAppOnCross = true; - followSystemTheme = true; - notificationMethod = "electron"; - optInTeamsV2 = true; - spellCheckerLanguages = ["en_GB"]; - }; }