git.iko.soy/typeable/nixpkgs
on master help sign in
Documentation update
0c477ebLuke Clifton
nixos/modules/services/networking/btsync.nix+16−1
@@ -88,7 +88,7 @@ in
88 use <literal>systemctl start btsync@user</literal> to start
88 use <literal>systemctl start btsync@user</literal> to start
89 the daemon only for user <literal>user</literal>, using the
89 the daemon only for user <literal>user</literal>, using the
90 configuration file located at
90 configuration file located at
91− <literal>$HOME/.config/btsync.conf</literal>
91+ <literal>$HOME/.config/btsync.conf</literal>.
92 '';
92 '';
93 };
93 };
94
94
@@ -223,6 +223,21 @@ in
223 --generate-secret</literal>. Note that this secret will be
223 --generate-secret</literal>. Note that this secret will be
224 put inside the Nix store, so it is realistically not very
224 put inside the Nix store, so it is realistically not very
225 secret.
225 secret.
226+
227+ If you would like to be able to modify the contents of this
228+ directories, it is recommended that you make your user a
229+ member of the <literal>btsync</literal> group.
230+
231+ Directories in this list should be in the
232+ <literal>btsync</literal> group, and that group must have
233+ write access to the directory. It is also recommended that
234+ <literal>chmod g+s</literal> is applied to the directory
235+ so that any sub directories created will also belong to
236+ the <literal>btsync</literal> group. Also,
237+ <literal>setfacl -d -m group:btsync:rwx</literal> and
238+ <literal>setfacl -m group:btsync:rwx</literal> should also
239+ be applied so that the sub directories are writable by
240+ the group.
226 '';
241 '';
227 };
242 };
228 };
243 };