Remove setting devices for folders in expression
This commit is contained in:
parent
d5b54b8551
commit
0a43fe7295
|
@ -1,6 +1,6 @@
|
||||||
{ config, lib, pkgs, user, ... }:
|
{ config, lib, pkgs, user, ... }:
|
||||||
let devices = [ "Ion" "Legion" "Northstar" "Ronin" "Vanguard" ];
|
|
||||||
in {
|
{
|
||||||
imports = [ ../traefik/syncthing.nix ];
|
imports = [ ../traefik/syncthing.nix ];
|
||||||
services.syncthing = {
|
services.syncthing = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -10,25 +10,21 @@ in {
|
||||||
openDefaultPorts = true;
|
openDefaultPorts = true;
|
||||||
settings.folders = {
|
settings.folders = {
|
||||||
"Documents" = {
|
"Documents" = {
|
||||||
inherit devices;
|
|
||||||
id = "gvggx-6telk";
|
id = "gvggx-6telk";
|
||||||
path = "~/Documents";
|
path = "~/Documents";
|
||||||
ignorePerms = true;
|
ignorePerms = true;
|
||||||
};
|
};
|
||||||
"Music" = {
|
"Music" = {
|
||||||
inherit devices;
|
|
||||||
id = "munzw-vnxhl";
|
id = "munzw-vnxhl";
|
||||||
path = "~/Music";
|
path = "~/Music";
|
||||||
ignorePerms = true;
|
ignorePerms = true;
|
||||||
};
|
};
|
||||||
"Pictures" = {
|
"Pictures" = {
|
||||||
inherit devices;
|
|
||||||
id = "ziuj8-rm6dn";
|
id = "ziuj8-rm6dn";
|
||||||
path = "~/Pictures";
|
path = "~/Pictures";
|
||||||
ignorePerms = true;
|
ignorePerms = true;
|
||||||
};
|
};
|
||||||
"Videos" = {
|
"Videos" = {
|
||||||
inherit devices;
|
|
||||||
id = "mbsop-qteua";
|
id = "mbsop-qteua";
|
||||||
path = "~/Videos";
|
path = "~/Videos";
|
||||||
ignorePerms = true;
|
ignorePerms = true;
|
||||||
|
|
Loading…
Reference in a new issue