nixos/switchable-system: don't add switch inhibitors by default
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -567,10 +567,6 @@ in
|
||||
);
|
||||
};
|
||||
|
||||
system.switch.inhibitors = [
|
||||
cfg.package
|
||||
];
|
||||
|
||||
environment.systemPackages = [ cfg.package ];
|
||||
|
||||
environment.etc =
|
||||
|
||||
Reference in New Issue
Block a user