Nix configurations for my personal machines (Linux & macOS)
1{delib, ...}:
2delib.module {
3 name = "darwin.homebrew";
4
5 options = delib.singleEnableOption true;
6
7 darwin.ifEnabled.homebrew = {
8 enable = true;
9 # Update and cleanup homebrew packages when rebuilding.
10 global.autoUpdate = false;
11 onActivation.autoUpdate = true;
12 onActivation.upgrade = true;
13 onActivation.cleanup = "zap";
14
15 taps = [
16 "ovyerus/klog"
17 "ovyerus/tap"
18 ];
19
20 brews = [
21 "klog"
22 "mas"
23 "swiftformat"
24 "xcbeautify"
25 "xcodegen"
26 ];
27
28 casks = [
29 "1password"
30 "discord"
31 "figma"
32 "httpie"
33 "insomnia"
34 "iterm2"
35 "karabiner-elements"
36 "maccy"
37 "orbstack"
38 # Actually searches symlinks for apps, compared to Alfred.
39 "raycast"
40 "swiftformat-for-xcode"
41 "tailscale-app"
42 # "vorta"
43 "vesktop"
44 "zen"
45 ];
46
47 masApps = {
48 Keka = 470158793;
49 "Yubico Authenticator" = 1497506650;
50 "System Color Picker" = 1545870783;
51 };
52 };
53}