Remove setting devices for folders in expression

This commit is contained in:
Evie Litherland-Smith 2023-10-26 17:56:47 +01:00
parent d5b54b8551
commit 0a43fe7295

View file

@ -1,6 +1,6 @@
{ config, lib, pkgs, user, ... }:
let devices = [ "Ion" "Legion" "Northstar" "Ronin" "Vanguard" ];
in {
{
imports = [ ../traefik/syncthing.nix ];
services.syncthing = {
enable = true;
@ -10,25 +10,21 @@ in {
openDefaultPorts = true;
settings.folders = {
"Documents" = {
inherit devices;
id = "gvggx-6telk";
path = "~/Documents";
ignorePerms = true;
};
"Music" = {
inherit devices;
id = "munzw-vnxhl";
path = "~/Music";
ignorePerms = true;
};
"Pictures" = {
inherit devices;
id = "ziuj8-rm6dn";
path = "~/Pictures";
ignorePerms = true;
};
"Videos" = {
inherit devices;
id = "mbsop-qteua";
path = "~/Videos";
ignorePerms = true;