From 4d5af6a79306b4cfa8398c7895ef52cd9a0fa89d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Sat, 16 Nov 2024 16:58:02 +0200 Subject: [PATCH] syncthing: +mxp1 --- modules/services/syncthing/default.nix | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/modules/services/syncthing/default.nix b/modules/services/syncthing/default.nix index 8265d7d..7aca98f 100644 --- a/modules/services/syncthing/default.nix +++ b/modules/services/syncthing/default.nix @@ -10,6 +10,7 @@ let devices = { "fwminex".id = "GKSUKZE-AOBQOWY-CNLZ2ZI-WNKATYE-MV4Y452-J3VCJ5C-EAANXRX-2P6EHA6"; "mtworx".id = "C72YA2S-PE5IGDZ-DCNFV7Y-I72BGZM-5L2OO7Y-4K5OTGZ-NILAS2V-BGSAUQW"; + "mxp1".id = "2HBV27D-PK5DKQG-EQE4AV7-ASADXHJ-ER7GAZK-Z6C2NZP-64DLTKI-5OPUZAT"; "mxp10".id = "LO54QZZ-5J3G62P-WUVM3MW-7J3VWHD-BG76TOQ-5S7PZSY-JU45K3I-X3ZL4AN"; "rzj-744P2PE".id = "UW6ISH2-NW6X6AW-BJR76TV-TV3BIGZ-PA5QH2M-YEF567T-IWMHKD5-P3XHHAH"; "sqq1-desk".id = "WJ5KGRS-AGDZ7SW-INIVWHR-Q4E5QX4-Y4TT2AK-QRJTOTL-2UHXX6O-5MUPGA2"; @@ -24,6 +25,7 @@ let devices = [ "vno1-gdrx" "fwminex" + "mxp1" "mxp10" ]; id = "8lk0n-mm63y"; @@ -40,6 +42,7 @@ let M-Active = { devices = [ "vno1-gdrx" + "mxp1" "mxp10" "fwminex" "mtworx" @@ -77,6 +80,7 @@ let }; M-Camera = { devices = [ + "mxp1" "mxp10" "vno1-gdrx" "fwminex" @@ -103,6 +107,7 @@ let "vno1-gdrx" "fwminex" "mtworx" + "mxp1" "mxp10" ]; id = "tg94v-cqcwr"; @@ -111,6 +116,7 @@ let video-shared = { devices = [ "vno1-gdrx" + "mxp1" "mxp10" "mtworx" "fwminex" @@ -131,7 +137,8 @@ let "vno1-gdrx" "fwminex" "rzj-744P2PE" - "mxp10" + "mxp1" + "mxp1" "mtworx" ]; id = "evgn9-ahngz"; @@ -162,10 +169,13 @@ let id = "7z9sw-aaaa"; label = "www-mtworx"; }; - www-mxp10 = { - devices = [ "mxp10" ]; + www-mxp1 = { + devices = [ + "mxp1" + "mxp10" + ]; id = "gqrtz-prx9h"; - label = "www-mxp10"; + label = "www-mxp1"; }; mykolo = { devices = [ "mxp10" ]; @@ -209,6 +219,7 @@ in vno1-gdrx fwminex mtworx + mxp1 mxp10 rzj-744P2PE sqq1-desk @@ -222,6 +233,7 @@ in vno1-gdrx fwminex mtworx + mxp1 mxp10 rzj-744P2PE sqq1-desk @@ -239,6 +251,7 @@ in vno1-vinc sqq1-desk rzj-744P2PE + mxp1 mxp10 a-kfire v-kfire @@ -249,7 +262,7 @@ in with folders; { } // (lib.optionalAttrs (config.networking.hostName == "fwminex") { - "/var/www/dl/tel" = www-mxp10; + "/var/www/dl/tel" = www-mxp1; "/var/www/dl/vno1-gdrx" = www-vno1-gdrx; "/var/www/dl/mtworx" = www-mtworx; "/var/www/dl/mykolo" = mykolo;