Update syncthing devices
This commit is contained in:
parent
c376cfe986
commit
b515145f37
|
@ -1,5 +1,7 @@
|
||||||
{ lib, user, group, ... }:
|
{ lib, user, group, ... }:
|
||||||
let devices = [ "Ion" "Legion" "Monarch" "Northstar" "Ronin" "Vanguard" ];
|
let
|
||||||
|
devices = [ "Legion" "Monarch" "Northstar" "Ronin" "Vanguard" ];
|
||||||
|
devicesWithPhone = devices ++ [ "Ion" ];
|
||||||
in {
|
in {
|
||||||
services.syncthing = {
|
services.syncthing = {
|
||||||
inherit user group;
|
inherit user group;
|
||||||
|
@ -42,10 +44,10 @@ in {
|
||||||
ignorePerms = true;
|
ignorePerms = true;
|
||||||
};
|
};
|
||||||
"Documents" = {
|
"Documents" = {
|
||||||
inherit devices;
|
|
||||||
id = "qc6qa-bipsd";
|
id = "qc6qa-bipsd";
|
||||||
path = lib.mkDefault "~/Documents/Sync";
|
path = lib.mkDefault "~/Documents/Sync";
|
||||||
ignorePerms = true;
|
ignorePerms = true;
|
||||||
|
devices = devicesWithPhone;
|
||||||
};
|
};
|
||||||
"Exports" = {
|
"Exports" = {
|
||||||
inherit devices;
|
inherit devices;
|
||||||
|
@ -54,22 +56,22 @@ in {
|
||||||
ignorePerms = true;
|
ignorePerms = true;
|
||||||
};
|
};
|
||||||
"Notes" = {
|
"Notes" = {
|
||||||
inherit devices;
|
|
||||||
id = "4ggjz-5dyop";
|
id = "4ggjz-5dyop";
|
||||||
path = lib.mkDefault "~/Notes";
|
path = lib.mkDefault "~/Notes";
|
||||||
ignorePerms = true;
|
ignorePerms = true;
|
||||||
|
devices = devicesWithPhone;
|
||||||
};
|
};
|
||||||
"Pictures" = {
|
"Pictures" = {
|
||||||
inherit devices;
|
|
||||||
id = "ziuj8-rm6dn";
|
id = "ziuj8-rm6dn";
|
||||||
path = lib.mkDefault "~/Pictures";
|
path = lib.mkDefault "~/Pictures";
|
||||||
ignorePerms = true;
|
ignorePerms = true;
|
||||||
|
devices = devicesWithPhone;
|
||||||
};
|
};
|
||||||
"Zotero" = {
|
"Zotero" = {
|
||||||
inherit devices;
|
|
||||||
id = "huyvn-liwc9";
|
id = "huyvn-liwc9";
|
||||||
path = lib.mkDefault "~/Documents/Zotero";
|
path = lib.mkDefault "~/Documents/Zotero";
|
||||||
ignorePerms = true;
|
ignorePerms = true;
|
||||||
|
devices = devicesWithPhone;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue