nixos/system/work.nix

18 lines
593 B
Nix
Raw Normal View History

{ lib, username, ... }:
{
home-manager.users.${username} =
{ config, ... }:
{
imports = [ ./home/openfortivpn/ukaea.nix ];
programs = {
git.userEmail = config.accounts.email.accounts.outlook.address;
qutebrowser.settings.url.default_page = "https://nucleus.ukaea.uk";
};
accounts.email.accounts = {
proton.primary = lib.mkForce false;
outlook.primary = lib.mkForce true;
};
home.shellAliases.sync-onedrive = "rclone copy -P OneDrive: ~/Documents/OneDrive && rclone sync -P ~/Documents/OneDrive OneDrive:";
};
}