We remove all widget by a activation script

This commit is contained in:
Administrateur committed 2026-10-14 20:04:55 +02:00
1 parent 6fe1a376a5
commit b6c676dfd2
1 file changed
+6 -1
+6 -1
View File
@@ -1,6 +1,6 @@
{ import-tree, ... }:
{
home-manager.users.alistreaza = {
home-manager.users.alistreaza = { lib, ... }: {
imports = [
(import-tree ../../../../modules/home/common)
@@ -32,6 +32,11 @@
targets.darwin.linkApps.enable = false;
targets.darwin.copyApps.enable = false;
home.activation.widgets = lib.hm.dag.entryAfter ["writeBoundary"] ''
run /usr/bin/defaults delete com.apple.notificationcenterui || true
run /usr/bin/killall NotificationCenter || true
'';
# The state version is required and should stay at the version you
# originally installed.
home.stateVersion = "26.05";