Update syncthing
This commit is contained in:
parent
0ffb8047b2
commit
2b7c51bdfd
2 changed files with 8 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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 pc = "blitzar"; in {
|
||||
devices.${pc} = {
|
||||
name = pc;
|
||||
id = "JQQYTRP-GEJITYH-NSHUZ2T-YWS5XDC-7R6E47Z-NUXON4D-4QR77VU-AE4Q3AR";
|
||||
id = "KGCBCIZ-GG6KMQ2-FLK5BWW-GLCEDML-5LCI24S-UKO5UWL-HWNCPYX-ZWWD5AQ";
|
||||
};
|
||||
folders.music = {
|
||||
enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue