diff --git a/nixos/modules/services/system/dbus.nix b/nixos/modules/services/system/dbus.nix index a0edb9336208..3751fa5e57fd 100644 --- a/nixos/modules/services/system/dbus.nix +++ b/nixos/modules/services/system/dbus.nix @@ -174,10 +174,6 @@ in permissions = "u+rx,g+rx,o-rx"; }; - system.switch.inhibitors = [ - cfg.dbusPackage - ]; - systemd.services.dbus = { aliases = [ # hack aiding to prevent dbus from restarting when switching from dbus-broker back to dbus @@ -216,10 +212,6 @@ in cfg.brokerPackage ]; - system.switch.inhibitors = [ - cfg.brokerPackage - ]; - # Just to be sure we don't restart through the unit alias systemd.services.dbus.reloadIfChanged = true; systemd.user.services.dbus.reloadIfChanged = true; diff --git a/nixos/modules/system/boot/systemd.nix b/nixos/modules/system/boot/systemd.nix index 25bd4c624bfe..7fb5c2259062 100644 --- a/nixos/modules/system/boot/systemd.nix +++ b/nixos/modules/system/boot/systemd.nix @@ -567,10 +567,6 @@ in ); }; - system.switch.inhibitors = [ - cfg.package - ]; - environment.systemPackages = [ cfg.package ]; environment.etc =