mirror of
https://github.com/lightly-toasted/nix-config.git
synced 2026-03-23 05:06:42 +00:00
feat(vps): add restic REST server
- Enable restic REST server service - Add Caddy route for restic REST server
This commit is contained in:
parent
cb479d8e7d
commit
569c2037e1
3 changed files with 12 additions and 0 deletions
8
hosts/vps/modules/services/restic-rest-server.nix
Normal file
8
hosts/vps/modules/services/restic-rest-server.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
services.restic.server = {
|
||||
enable = true;
|
||||
appendOnly = true;
|
||||
listenAddress = "127.0.0.1:3003";
|
||||
extraFlags = [ "--no-auth" ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue