services.webdav-server-rs.settings
Attrset that is converted and passed as config file. Available options can be found at here.
- Type
TOML value- Default
{ }- Example
{ server.listen = [ "0.0.0.0:4918" "[::]:4918" ]; accounts = { auth-type = "htpasswd.default"; acct-type = "unix"; }; htpasswd.default = { htpasswd = "/etc/htpasswd"; }; location = [ { route = [ "/public/*path" ]; directory = "/srv/public"; handler = "filesystem"; methods = [ "webdav-ro" ]; autoindex = true; auth = "false"; } { route = [ "/user/:user/*path" ]; directory = "~"; handler = "filesystem"; methods = [ "webdav-rw" ]; autoindex = true; auth = "true"; setuid = true; } ]; }- Declared
- <nixpkgs/nixos/modules/services/network-filesystems/webdav-server-rs.nix>