Commit 7d0a73912417

Vincent Demeester <vincent@sbr.pm>
2026-04-07 22:16:06
fix(okinawa): disabled noisy services causing freezes
Disabled bluetooth-keyboard-monitor and ntfy-subscriber on okinawa. The former spammed D-Bus with 14k reconnect lines per boot, the latter retried 7k times with an expired auth token. Both contributed to compositor stalls via D-Bus and journal pressure.
1 parent b06148a
Changed files (2)
systems
systems/okinawa/extra.nix
@@ -59,7 +59,7 @@
 
   # Auto-disable internal keyboard when Eyelash Corne (BT) is connected
   services.laptop-keyboard-inhibit = {
-    enable = true;
+    enable = false; # disabled: spams D-Bus with bluetooth reconnect attempts
     keyboards = [ "Eyelash Corne" ];
   };
 
systems/okinawa/home.nix
@@ -116,31 +116,32 @@ in
   };
 
   # ntfy notification subscriber
-  systemd.user.services.ntfy-subscriber = {
-    Unit = {
-      Description = "ntfy notification subscriber";
-      Documentation = "https://ntfy.sh";
-      After = [
-        "graphical-session.target"
-        "network-online.target"
-      ];
-      Wants = [ "network-online.target" ];
-    };
-
-    Service = {
-      Type = "simple";
-      ExecStart = "${pkgs.ntfy-sh}/bin/ntfy subscribe --from-config";
-      Restart = "on-failure";
-      RestartSec = 10;
-      Environment = [
-        "PATH=${pkgs.bash}/bin:${pkgs.coreutils}/bin:${pkgs.libnotify}/bin:${pkgs.ntfy-sh}/bin:${pkgs.xdg-utils}/bin:${pkgs.curl}/bin:${pkgs.passage}/bin"
-        "PASSAGE_DIR=/home/vincent/.local/share/passage"
-        "PASSAGE_IDENTITIES_FILE=/home/vincent/.ssh/id_ed25519"
-      ];
-    };
-
-    Install = {
-      WantedBy = [ "graphical-session.target" ];
-    };
-  };
+  # disabled: auth token expired, causes ~7k retry log lines per boot
+  # systemd.user.services.ntfy-subscriber = {
+  #   Unit = {
+  #     Description = "ntfy notification subscriber";
+  #     Documentation = "https://ntfy.sh";
+  #     After = [
+  #       "graphical-session.target"
+  #       "network-online.target"
+  #     ];
+  #     Wants = [ "network-online.target" ];
+  #   };
+  #
+  #   Service = {
+  #     Type = "simple";
+  #     ExecStart = "${pkgs.ntfy-sh}/bin/ntfy subscribe --from-config";
+  #     Restart = "on-failure";
+  #     RestartSec = 10;
+  #     Environment = [
+  #       "PATH=${pkgs.bash}/bin:${pkgs.coreutils}/bin:${pkgs.libnotify}/bin:${pkgs.ntfy-sh}/bin:${pkgs.xdg-utils}/bin:${pkgs.curl}/bin:${pkgs.passage}/bin"
+  #       "PASSAGE_DIR=/home/vincent/.local/share/passage"
+  #       "PASSAGE_IDENTITIES_FILE=/home/vincent/.ssh/id_ed25519"
+  #     ];
+  #   };
+  #
+  #   Install = {
+  #     WantedBy = [ "graphical-session.target" ];
+  #   };
+  # };
 }