nixos/system/home/work.nix
Evie Litherland-Smith ed61fbb1e2 Change wallpaper
Don't autostart twinkle on work machines
2024-10-31 10:59:39 +00:00

31 lines
775 B
Nix

{
config,
lib,
pkgs,
...
}:
{
imports = [ ./openfortivpn/ukaea.nix ];
home.packages = with pkgs; [
nomachine-client
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/teams-for-linux.desktop".source = "${pkgs.teams-for-linux}/share/applications/teams-for-linux.desktop";
"teams-for-linux/config.json".text = builtins.toJSON {
awayOnSystemIdle = true;
closeAppOnCross = false;
followSystemTheme = true;
notificationMethod = "electron";
optInTeamsV2 = true;
spellCheckerLanguages = [ "en_GB" ];
};
};
}