From 3b714d179557e7bbe01ac25ee387f146e6e47074 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Fri, 10 Jul 2026 12:49:36 -0700 Subject: [PATCH] nixos: prevent dbus-broker activation reloads --- nixos/base.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/nixos/base.nix b/nixos/base.nix index 6dafc0bf..cb79f930 100644 --- a/nixos/base.nix +++ b/nixos/base.nix @@ -107,6 +107,14 @@ makeEnable config "myModules.base" true { # For supporting gnome stuff services.dbus.packages = [pkgs.gcr]; + # User dbus-broker reloads can time out while the broker stays healthy and + # notices service-file changes itself, which makes `nixos-rebuild switch` + # report a failed user activation. + systemd.user.services.dbus-broker = { + reloadIfChanged = pkgs.lib.mkForce false; + restartIfChanged = pkgs.lib.mkForce false; + stopIfChanged = pkgs.lib.mkForce false; + }; programs.dconf.enable = true;