Syncthing: give additional capabilities
This commit is contained in:
parent
7e6a0c9ad2
commit
5af49c32e2
1 changed files with 5 additions and 0 deletions
|
|
@ -5,6 +5,7 @@
|
|||
syncthingKey.file = ../../secrets/syncthing/key;
|
||||
syncthingCert.file = ../../secrets/syncthing/cert;
|
||||
};
|
||||
|
||||
services.syncthing = {
|
||||
enable = true;
|
||||
key = config.age.secrets.syncthingKey.path;
|
||||
|
|
@ -16,6 +17,10 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
systemd.services.syncthing.serviceConfig = {
|
||||
# Allow syncthing to change ownership of files
|
||||
AmbientCapabilities = "CAP_CHOWN CAP_FOWNER";
|
||||
};
|
||||
|
||||
# Set up traefik as the reverse proxy for syncthing
|
||||
services.traefik = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue