Probably nixpkgs.lib.escapeSystemdPath
. If you are talking about a NixOS config you can request lib
as an argument.
(I haven't actually checked, but this is where most lib functions are)
All about NixOS - https://nixos.org/
Probably nixpkgs.lib.escapeSystemdPath
. If you are talking about a NixOS config you can request lib
as an argument.
(I haven't actually checked, but this is where most lib functions are)