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
In example configuration where you e.g. want to set an SSHD for an onion service, but don't want the people to know the onion url:
{config, ... }:
{age.secrets.SYSTEM-onion={file=./SYSTEM-onion.age;owner="tor";group="tor";mode="0400";path="/var/lib/tor/SYSTEM-onion.conf";};# Make tor source the fileservices.tor.settings."%include"=config.age.secrets."pelagus-onion".path;}
In example configuration where you e.g. want to set an SSHD for an onion service, but don't want the people to know the onion url:
with secret:
will generate a symlink with
root:root
ownership:that causes tor to fail:
Adding
symlink = false;
or changing the symlink's permissions totor:tor
appears to fix the problem.Proposal
Make the symlink carry out the permissions set in
age.secret.SECRET.{owner,group,mode}
Relevants
Wasted ~20 hours on this in development of https://github.com/kreyren/nixos-config for PELAGUS system on NixOS distribution.
The text was updated successfully, but these errors were encountered: