What does `lib.stringAfter` do? And how does it work?

I have seen lib.stringAfter in this context:

lib.stringAfter [ "users" ] ''
  ${pkgs.systemd}/bin/loginctl enable-linger penpot
'';

I have no idea what it does, I imagine it does some sort of order management? If so, how?
I cannot really find any info on it. I believe this is it’s declaration, but it does not make me any wiser: https://github.com/NixOS/nixpkgs/blob/e3924e5e270ef31ada9039531b89ae07389bc950/lib/strings-with-deps.nix#L82

See the very file you linked to, but read it from the top down: https://github.com/NixOS/nixpkgs/blob/e3924e5e270ef31ada9039531b89ae07389bc950/lib/strings-with-deps.nix

1 Like

Whoops :sweat_smile:
I thought the declarations were all independent from another.