nixos/home/work.nix

29 lines
682 B
Nix
Raw Normal View History

{
config,
lib,
pkgs,
...
}: {
home.packages = with pkgs; [
twinkle
teams-for-linux
(import ./scripts/ukaea-vpn.nix pkgs)
];
programs = {
git.userEmail = config.accounts.email.accounts.outlook.address;
firefox.policies.Homepage.URL = "https://nucleus.ukaea.uk";
};
accounts.email.accounts = {
proton.primary = lib.mkForce false;
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"];
};
}