mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 08:28:11 +09:00
mac dock
This commit is contained in:
@@ -1,5 +1,4 @@
|
|||||||
{
|
{
|
||||||
lib,
|
|
||||||
primaryUser,
|
primaryUser,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
@@ -22,10 +21,4 @@
|
|||||||
expose-group-apps = false;
|
expose-group-apps = false;
|
||||||
show-recents = false;
|
show-recents = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
# Homebrew installs casks after defaults are written. Refresh the Dock only
|
|
||||||
# after both Homebrew and Home Manager have finished activating.
|
|
||||||
system.activationScripts.postActivation.text = lib.mkAfter ''
|
|
||||||
run sudo --user=${lib.escapeShellArg primaryUser} /usr/bin/killall Dock >/dev/null 2>&1 || true
|
|
||||||
'';
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user