mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 18:04:41 +02:00
update syncthing to new secret schema
This commit is contained in:
parent
f0ba25e517
commit
7659c9beee
1 changed files with 4 additions and 4 deletions
|
@ -1,14 +1,14 @@
|
|||
{ config, ... }:
|
||||
{
|
||||
sops.secrets.syncthing_key = {};
|
||||
sops.secrets.syncthing_cert = {};
|
||||
sops.secrets."syncthing/key" = { };
|
||||
sops.secrets."syncthing/cert" = { };
|
||||
|
||||
services.syncthing = {
|
||||
enable = true;
|
||||
openDefaultPorts = true;
|
||||
dataDir = "/srv/data";
|
||||
key = config.sops.secrets.syncthing_key.path;
|
||||
cert = config.sops.secrets.syncthing_cert.path;
|
||||
key = config.sops.secrets."syncthing/key".path;
|
||||
cert = config.sops.secrets."syncthing/cert".path;
|
||||
extraOptions = {
|
||||
options = {
|
||||
localAnnounceEnabled = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue