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, ... }:
|
{ config, ... }:
|
||||||
{
|
{
|
||||||
sops.secrets.syncthing_key = {};
|
sops.secrets."syncthing/key" = { };
|
||||||
sops.secrets.syncthing_cert = {};
|
sops.secrets."syncthing/cert" = { };
|
||||||
|
|
||||||
services.syncthing = {
|
services.syncthing = {
|
||||||
enable = true;
|
enable = true;
|
||||||
openDefaultPorts = true;
|
openDefaultPorts = true;
|
||||||
dataDir = "/srv/data";
|
dataDir = "/srv/data";
|
||||||
key = config.sops.secrets.syncthing_key.path;
|
key = config.sops.secrets."syncthing/key".path;
|
||||||
cert = config.sops.secrets.syncthing_cert.path;
|
cert = config.sops.secrets."syncthing/cert".path;
|
||||||
extraOptions = {
|
extraOptions = {
|
||||||
options = {
|
options = {
|
||||||
localAnnounceEnabled = false;
|
localAnnounceEnabled = false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue