{ config, pkgs, ... }: { system.activationScripts.sysext = '' mkdir -p /var/lib/confexts mkdir -p /var/lib/extensions mkdir -p /etc/systemd/extensions ''; systemd.additionalUpstreamSystemUnits = [ "systemd-confext.service" "systemd-sysext.service" ]; systemd.services."systemd-confext" = { enable = true; wantedBy = [ "multi-user.target" ]; }; systemd.services."systemd-sysext.service" = { enable = true; wantedBy = [ "multi-user.target" ]; }; }