summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorLuke Clifton <ltclifton@gmail.com>2014-12-28 17:26:59 +0800
committerLuke Clifton <ltclifton@gmail.com>2014-12-28 17:26:59 +0800
commit0c477eb38fe0736a6853a2e8148b1e94c163cd97 (patch)
tree00775971d0ce9203605ad86b4fedf635398cd0b8 /nixos
parent61ff1b2b0a9d59b9e851d65086e4fcb84d5d132c (diff)
downloadnixlib-0c477eb38fe0736a6853a2e8148b1e94c163cd97.tar
nixlib-0c477eb38fe0736a6853a2e8148b1e94c163cd97.tar.gz
nixlib-0c477eb38fe0736a6853a2e8148b1e94c163cd97.tar.bz2
nixlib-0c477eb38fe0736a6853a2e8148b1e94c163cd97.tar.lz
nixlib-0c477eb38fe0736a6853a2e8148b1e94c163cd97.tar.xz
nixlib-0c477eb38fe0736a6853a2e8148b1e94c163cd97.tar.zst
nixlib-0c477eb38fe0736a6853a2e8148b1e94c163cd97.zip
Documentation update
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/networking/btsync.nix17
1 files changed, 16 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/btsync.nix b/nixos/modules/services/networking/btsync.nix
index 0bb22ebe4b96..34bddf908731 100644
--- a/nixos/modules/services/networking/btsync.nix
+++ b/nixos/modules/services/networking/btsync.nix
@@ -88,7 +88,7 @@ in
           use <literal>systemctl start btsync@user</literal> to start
           the daemon only for user <literal>user</literal>, using the
           configuration file located at
-          <literal>$HOME/.config/btsync.conf</literal>
+          <literal>$HOME/.config/btsync.conf</literal>.
         '';
       };
 
@@ -223,6 +223,21 @@ in
           --generate-secret</literal>. Note that this secret will be
           put inside the Nix store, so it is realistically not very
           secret.
+
+          If you would like to be able to modify the contents of this
+          directories, it is recommended that you make your user a
+          member of the <literal>btsync</literal> group.
+
+          Directories in this list should be in the
+          <literal>btsync</literal> group, and that group must have
+          write access to the directory. It is also recommended that
+          <literal>chmod g+s</literal> is applied to the directory
+          so that any sub directories created will also belong to
+          the <literal>btsync</literal> group. Also,
+          <literal>setfacl -d -m group:btsync:rwx</literal> and
+          <literal>setfacl -m group:btsync:rwx</literal> should also
+          be applied so that the sub directories are writable by
+          the group.
         '';
       };
     };