38 lines
587 B
Nix
38 lines
587 B
Nix
{
|
|
pkgs,
|
|
config,
|
|
lib,
|
|
inputs,
|
|
...
|
|
}: let
|
|
service = "work";
|
|
cfg = config.darwin.${service};
|
|
in {
|
|
|
|
options.darwin.work = {
|
|
enable = lib.mkEnableOption "installs apps for work";
|
|
};
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
services.tailscale = {
|
|
enable = true;
|
|
#overrideLocalDns = true;
|
|
#authKeyFile = authkey_file;
|
|
};
|
|
|
|
homebrew = {
|
|
casks = [
|
|
"asana"
|
|
"microsoft-teams"
|
|
"microsoft-office"
|
|
"jump-desktop"
|
|
"wifiman"
|
|
];
|
|
masApps = {
|
|
"configurator" = 1037126344;
|
|
};
|
|
};
|
|
|
|
};
|
|
}
|