31 lines
842 B
Nix
31 lines
842 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
imports = [./default.nix];
|
|
home.packages = with pkgs; [
|
|
teams-for-linux
|
|
nomachine-client
|
|
(writeShellScriptBin "ukaea-vpn-connect" "sudo ${openfortivpn}/bin/openfortivpn -c ${./ukaea-vpn.conf}")
|
|
];
|
|
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;
|
|
electronCLIFlags = [["ozone-platform" "wayland"]];
|
|
followSystemTheme = true;
|
|
notificationMethod = "electron";
|
|
optInTeamsV2 = true;
|
|
spellCheckerLanguages = ["en_GB"];
|
|
};
|
|
}
|