Update syncthing

This commit is contained in:
Invariantspace 2023-11-28 21:22:37 -08:00
parent 0ffb8047b2
commit 2b7c51bdfd
2 changed files with 8 additions and 4 deletions

View file

@ -1,15 +1,17 @@
{ config, ... }:
{
services.syncthing = {
services.syncthing = let home = config.constants.homeDir; in {
enable = true;
configDir = "${home}/.config/syncthing";
dataDir = "${home}/.local/share/syncthing";
openDefaultPorts = true;
overrideDevices = true;
overrideFolders = true;
settings = let media = "nebula"; in {
devices.${media} = {
name = media;
id = "KCQSN3M-UWBEDE6-SCS5LS7-WFKFLDK-WT5ECNB-3Z47WAM-ZMA52UL-ZNJUYQ7";
id = "NJXA5XS-2PSWECD-UHBV7JH-IR2RSWY-PRUPFTZ-AHL7IN6-RXSLZKB-2FUNRQH";
};
folders.music = {
enable = true;