Only install teams on work machines

This commit is contained in:
Evie Litherland-Smith 2024-10-25 05:33:00 +01:00
parent 10ca06642b
commit 356ce4e4f7
2 changed files with 13 additions and 12 deletions

View file

@ -13,8 +13,6 @@
webcord webcord
signal-desktop signal-desktop
whatsapp-for-linux whatsapp-for-linux
teams-for-linux
x2goclient
nomachine-client nomachine-client
]; ];
file.${config.gtk.gtk2.configLocation}.force = true; # Stop clashing with KDE file.${config.gtk.gtk2.configLocation}.force = true; # Stop clashing with KDE
@ -55,15 +53,6 @@
# Autostart some programs # Autostart some programs
"autostart/signal-desktop.desktop".source = "${pkgs.signal-desktop}/share/applications/signal-desktop.desktop"; "autostart/signal-desktop.desktop".source = "${pkgs.signal-desktop}/share/applications/signal-desktop.desktop";
"autostart/com.github.eneshecan.WhatsAppForLinux.desktop".source = "${pkgs.whatsapp-for-linux}/share/applications/com.github.eneshecan.WhatsAppForLinux.desktop"; "autostart/com.github.eneshecan.WhatsAppForLinux.desktop".source = "${pkgs.whatsapp-for-linux}/share/applications/com.github.eneshecan.WhatsAppForLinux.desktop";
# Teams configuration
"teams-for-linux/config.json".text = builtins.toJSON {
awayOnSystemIdle = true;
closeAppOnCross = false;
followSystemTheme = true;
notificationMethod = "electron";
optInTeamsV2 = true;
spellCheckerLanguages = [ "en_GB" ];
};
}; };
}; };
} }

View file

@ -6,7 +6,10 @@
}: }:
{ {
imports = [ ./openfortivpn/ukaea.nix ]; imports = [ ./openfortivpn/ukaea.nix ];
home.packages = with pkgs; [ twinkle ]; home.packages = with pkgs; [
teams-for-linux
twinkle
];
programs.git.userEmail = config.accounts.email.accounts.outlook.address; programs.git.userEmail = config.accounts.email.accounts.outlook.address;
accounts.email.accounts = { accounts.email.accounts = {
proton.primary = lib.mkForce false; proton.primary = lib.mkForce false;
@ -16,4 +19,13 @@
"autostart/twinkle.desktop".source = "${pkgs.twinkle}/share/applications/twinkle.desktop"; "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"; "autostart/teams-for-linux.desktop".source = "${pkgs.teams-for-linux}/share/applications/teams-for-linux.desktop";
}; };
# Teams configuration
"teams-for-linux/config.json".text = builtins.toJSON {
awayOnSystemIdle = true;
closeAppOnCross = false;
followSystemTheme = true;
notificationMethod = "electron";
optInTeamsV2 = true;
spellCheckerLanguages = [ "en_GB" ];
};
} }