I want to call the escapeSystemdPath (defined in nixpgs at nixos/lib/utils.nix) to derive the name of a systemd mount unit from the target path (eg. srv-my-dir.mount from /srv/my/dir), but I can’t figure out how I can reference it… any ideas?

  • gompOP
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    That’s it! I love you, thanks!