1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ pkgs, lib, ... }:
{
system.activationScripts.postActivation.text = ''
${pkgs.dockutil}/bin/dockutil \
--remove all \
--add /Applications/Firefox.app \
--add /Applications/Thunderbird.app \
--add /Applications/Telegram.app \
--add /Applications/Mona.app \
${if pkgs.system == "aarch64-darwin" then "--add /Applications/WhatsApp.app" else ""}\
--add /Applications/Navigator.app \
--add /System/Applications/Calendar.app \
--add /System/Applications/Reminders.app \
--add /System/Applications/Photos.app \
--add /Applications/TIDAL.app \
--add /System/Applications/Podcasts.app \
--add /Applications/iTerm.app \
--add "/System/Applications/Utilities/Activity Monitor.app" \
--add "/System/Applications/System Settings.app"
'';
}