{ lib, pkgs, username, ... }: { services.samba.enable = true; environment.systemPackages = with pkgs; [ teams-for-linux twinkle ]; home-manager.users.${username} = { config, ... }: { imports = [ ./home/openfortivpn/ukaea.nix ]; programs = { git.userEmail = config.accounts.email.accounts.outlook.address; firefox.profiles.user.settings."browser.startup.homepage" = "https://nucleus.ukaea.uk"; }; accounts.email.accounts = { proton.primary = lib.mkForce false; outlook.primary = lib.mkForce true; }; xdg.configFile."teams-for-linux/config.json" = { force = true; text = builtins.toJSON { awayOnSystemIdle = true; closeAppOnCross = false; followSystemTheme = true; notificationMethod = "electron"; optInTeamsV2 = true; spellCheckerLanguages = [ "en_GB" ]; }; }; }; }