+24
-11
nixos/lib/systemd-lib.nix
+24
-11
nixos/lib/systemd-lib.nix
···+(lib.filterAttrs (n: v: (attrByPath [ "overrideStrategy" ] "asDropinIfExists" v) == "asDropinIfExists") units))}; do···+(lib.filterAttrs (n: v: v ? overrideStrategy && v.overrideStrategy == "asDropin") units))}; do························
+16
nixos/lib/systemd-unit-options.nix
+16
nixos/lib/systemd-unit-options.nix
···+Mainly needed to define instances for systemd template units (e.g. `systemd-nspawn@mycontainer.service`).
+11
nixos/tests/systemd-machinectl.nix
+11
nixos/tests/systemd-machinectl.nix
······machine.wait_until_succeeds("test $(systemctl is-active systemd-nspawn@${containerName}) = inactive");