This repository has been archived on 2024-07-03. You can view files and clone it, but cannot push or open issues or pull requests.
home-manager/home/work.nix
Evie Litherland-Smith cc4e511a94 Move common work config to home/work.nix
Add Nucleus as firefox homepage for work machines
2024-05-24 07:26:04 +01:00

20 lines
480 B
Nix

{
config,
lib,
pkgs,
...
}: {
imports = [./default.nix];
home.packages = [
(pkgs.writeShellScriptBin "ukaea-vpn-connect" "sudo ${pkgs.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;
};
}