NixOS Discourse
How to deploy custom NixOS module configuration with a flake using nixos-rebuild and keep the relative path of a custom script file?
Help
NobbZ
April 16, 2023, 7:08am
2
You should prefer
script
over
ServiceConfig.ExecStart
The path is used in a way that it looses its context, try
"${cfg.path}"
instead.
show post in topic
Hosted by
Flying Circus
.