22 lines
669 B
Nix
22 lines
669 B
Nix
{
|
|
lib,
|
|
pkgs,
|
|
username,
|
|
...
|
|
}:
|
|
{
|
|
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ "nomachine-client" ];
|
|
environment.systemPackages = [ pkgs.nomachine-client ];
|
|
home-manager.users.${username} =
|
|
{ config, ... }:
|
|
{
|
|
imports = [ ./home/openfortivpn/ukaea.nix ];
|
|
programs.git.userEmail = config.accounts.email.accounts.outlook.address;
|
|
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:";
|
|
};
|
|
}
|