Move teams-for-linux to be installed in desktop/default.nix

This commit is contained in:
Evie Litherland-Smith 2024-07-05 10:49:32 +01:00
parent ae8aaebbe3
commit 77a77727cf
2 changed files with 9 additions and 9 deletions

View file

@ -8,6 +8,7 @@
libreoffice-fresh libreoffice-fresh
inkscape inkscape
webcord webcord
teams-for-linux
kdePackages.krdc kdePackages.krdc
]; ];
services.syncthing.enable = true; services.syncthing.enable = true;
@ -28,5 +29,13 @@
XDG_PROJECTS_DIR = "${config.home.homeDirectory}/Projects"; 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"];
};
}; };
} }

View file

@ -6,7 +6,6 @@
}: { }: {
home.packages = with pkgs; [ home.packages = with pkgs; [
twinkle twinkle
teams-for-linux
(import ./scripts/ukaea-vpn.nix pkgs) (import ./scripts/ukaea-vpn.nix pkgs)
]; ];
programs = { programs = {
@ -17,12 +16,4 @@
proton.primary = lib.mkForce false; proton.primary = lib.mkForce false;
outlook.primary = lib.mkForce true; 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"];
};
} }