-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhomebrew.nix
71 lines (66 loc) · 1.47 KB
/
homebrew.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
{
# pkgs,
lib,
private,
...
}:
# let
# in
{
homebrew = {
enable = true;
onActivation = {
autoUpdate = true;
# use "uninstall" if you want nix to manage everything; zap removes configuration and cache also.
# cleanup = "uninstall";
upgrade = true;
};
brews =
[
"git-delta"
"swiftformat"
]
++ ((lib.optionals (lib.hasAttr "personal" private && private.personal)) [
"dovecot"
]);
casks =
[
"1password"
"1password/tap/1password-cli"
# "eloston-chromium"
"ghostty"
"iterm2"
# "little-snitch"
"obsidian"
"shortcat"
"slack"
]
++ ((lib.optionals (lib.hasAttr "personal" private && private.personal)) [
"whisky"
]);
masApps = {
"1Password Safari" = 1569813296;
"Actions" = 1586435171;
"Amphetamine" = 937984704;
"Clocker" = 1056643111;
"Expressions" = 913158085;
"iA Writer" = 775737590;
"Kagi" = 1622835804;
"Magnet" = 441258766;
"Patterns" = 429449079;
"Peek" = 1554235898;
"Pure Paste" = 1611378436;
"Reeder" = 1529448980;
"Remove Web Limits" = 1626843895;
"Sim Daltonism" = 693112260;
"Space Gremlin" = 414515628;
"The Unarchiver" = 425424353;
"Watchdog" = 734258109;
# "Xcode" = 497799835;
"Logger for Shortcuts" = 1611554653;
};
taps = [
"1password/tap"
];
};
}