nixos/dysnomia: replace activation script (#485919)

This commit is contained in:
Ramses
2026-02-12 16:08:36 +00:00
committed by GitHub
+4 -10
View File
@@ -288,15 +288,9 @@ in
boot.extraSystemdUnitPaths = [ "/etc/systemd-mutable/system" ];
system.activationScripts.dysnomia = ''
mkdir -p /etc/systemd-mutable/system
if [ ! -f /etc/systemd-mutable/system/dysnomia.target ]
then
( echo "[Unit]"
echo "Description=Services that are activated and deactivated by Dysnomia"
echo "After=final.target"
) > /etc/systemd-mutable/system/dysnomia.target
fi
'';
systemd.targets.dysnomia = {
description = "Services that are activated and deactivated by Dysnomia";
after = "final.target";
};
};
}