<arianvp>
it even looks in /nix/var/nix/profiles/default which doesnt even exist on my system?
<arianvp>
flokli:does it do on yours? if not; can we just drop this patch?
<arianvp>
i thought it was looking in the system profile but it isnt
<flokli>
arianvp: so the systemd-mutable stuff is dysnomia
<flokli>
maybe the other string should have been /nix/var/nix/profiles/system/lib/systemd, so stuff is installed when installed via nix-env
<flokli>
but as it never worked, we can probably drop it from that patch
<arianvp>
to summarise
<arianvp>
the patch 1. does things for dysonmia and a profile that doesnt exist anymore in named "default"
<arianvp>
2. the patch removes redundant lookups on directories that dont exist on nixos
<arianvp>
but afaics it the code wont fail if those directories dont exist
<arianvp>
so seems like another micro-optimisaiton; AKA we can just drop the entire patch no?
<arianvp>
seems to me it can be completely dropped without affecting behaviour
<arianvp>
(Except for dysomnia)
<flokli>
we probably should refactor out the dysnomia-specific stuff into a custom systemd, and encourage dysnomia users to set systemd.package to that.
<flokli>
But I'd probably leave this for another PR
<flokli>
not sure if we want to touch that patch now, or want to do this in a follow-up
<flokli>
TBH, I'd prefer to merge the stuff we currently have, and keep going from there.