This commit is contained in:
Lilith 2024-06-08 22:09:38 +02:00
parent 1d20b998e2
commit 5233f56434
Signed by: lilith
GPG key ID: 8712A0F317C37175
2 changed files with 7 additions and 5 deletions

View file

@ -1,16 +1,18 @@
{ conf, config, ...}: {
sops.secrets."syncthing/key.pem" = {
sopsFile = ../hosts/${conf.hostname}/secrets/default.yaml
sopsFile = ../hosts/${conf.hostname}/secrets/default.yaml;
};
sops.secrets."syncthing/cert.pem" = {
sopsFile = ../hosts/${conf.hostname}/secrets/default.yaml
sopsFile = ../hosts/${conf.hostname}/secrets/default.yaml;
};
services.syncthing = {
enable = true;
user = conf.user;
dataDir = "$(conf.home)/sync";
configDir = "$(conf.home)/.config/syncthing";
dataDir = /home/lilith/sync;
configDir = /home/lilith/.config/syncthing;
overrideDevices = true;
overrideFolders = true;