32 lines
857 B
Nix
32 lines
857 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
{
|
|
imports = [ ./openfortivpn/ukaea.nix ];
|
|
home.packages = with pkgs; [
|
|
teams-for-linux
|
|
twinkle
|
|
];
|
|
programs.git.userEmail = config.accounts.email.accounts.outlook.address;
|
|
accounts.email.accounts = {
|
|
proton.primary = lib.mkForce false;
|
|
outlook.primary = lib.mkForce true;
|
|
};
|
|
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 configuration
|
|
"teams-for-linux/config.json".text = builtins.toJSON {
|
|
awayOnSystemIdle = true;
|
|
closeAppOnCross = false;
|
|
followSystemTheme = true;
|
|
notificationMethod = "electron";
|
|
optInTeamsV2 = true;
|
|
spellCheckerLanguages = [ "en_GB" ];
|
|
};
|
|
}
|