nixos/system/home/work.nix

33 lines
896 B
Nix
Raw Normal View History

{
config,
lib,
pkgs,
...
2024-07-30 15:06:34 +01:00
}:
{
imports = [ ./openfortivpn/ukaea.nix ];
2024-10-25 05:33:00 +01:00
home.packages = with pkgs; [
nomachine-client
2024-10-25 05:33:00 +01:00
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";
2024-10-28 08:08:46 +00:00
# Teams configuration
"teams-for-linux/config.json".text = builtins.toJSON {
awayOnSystemIdle = true;
closeAppOnCross = false;
followSystemTheme = true;
notificationMethod = "electron";
optInTeamsV2 = true;
spellCheckerLanguages = [ "en_GB" ];
};
2024-10-25 05:33:00 +01:00
};
}