You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a folding@home service that requires a string to pass to the args, however since both builtins.readfile and lib.fileContents are impure because the .path is an absolute path i cannot read it. What best practice should i use in this case?
I thought ''--passkey "$(cat ${config.age.secret.passkey.path})"'', but I see that it would be escaped by escapeShellArgs, so it seems you have to write your own script to generate config.xml using the secrets, and add it to the system activation before fahclient is started. Or, perhaps, modify the nixos module and use it instead of the original.
I have a folding@home service that requires a string to pass to the args, however since both
builtins.readfile
andlib.fileContents
are impure because the .path is an absolute path i cannot read it. What best practice should i use in this case?The text was updated successfully, but these errors were encountered: