breakdown work and genral apps to be modular

This commit is contained in:
2026-04-23 15:53:00 -05:00
parent 6dd0ab1eea
commit 1ec90889e4
4 changed files with 83 additions and 11 deletions
+3 -11
View File
@@ -18,6 +18,8 @@
syncthing.enable = true;
tailscale.enable = true;
yubikey.enable = true;
work.enable = true;
apps.enable = true;
};
@@ -148,24 +150,14 @@
"media-info"
];
casks = [
"gnucash"
"kitty"
"battery-toolkit"
"linearmouse"
"utm"
"libreoffice"
];
masApps = {
# "name" = app_id_number;
"configurator" = 1168254295;
"bitwarden" = 1352778147;
"darkreader" = 1438243180;
"ghostery" = 6504861501;
"privacy" = 6449850851;
"hiddenbar" = 1452453066;
"testflight" = 899247664;
"pages" = 409201541;
"numbers" = 409203825;
"keynote" = 409183694;
};
};
+45
View File
@@ -0,0 +1,45 @@
{
pkgs,
config,
lib,
...
}:
let
service = "apps";
cfg = config.darwin.${service};
in {
options.darwin.${service} = {
enable = lib.mkEnableOption "installs generally wanted apps";
};
config = lib.mkIf cfg.enable {
# environment.systemPackages = with pkgs; [
# uhhh
# ];
homebrew = {
brews = [
];
casks = [
"gnucash"
"utm"
"libreoffice"
"iperf3"
"nmap"
"p7zip"
"sl"
"cowsay"
];
masApps = {
"pages" = 409201541;
"numbers" = 409203825;
"keynote" = 409183694;
"bitwarden" = 1352778147;
"darkreader" = 1438243180;
"ghostery" = 6504861501;
"privacy" = 6449850851;
};
};
};
}
+1
View File
@@ -9,6 +9,7 @@
./tailscale
./syncthing
./yubikey
./work
# ./sops
];
+34
View File
@@ -0,0 +1,34 @@
{
pkgs,
config,
lib,
inputs,
...
}: let
cfg = config.darwin.work;
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"
];
masApps = {
"configurator" = 1168254295;
};
};
};
}