1
0
Fork 0

Add pegasus to syncthing

This commit is contained in:
Malte 2022-09-14 21:49:18 +02:00
parent 5116975f7e
commit 48173cdb53
4 changed files with 4 additions and 3 deletions

View file

@ -8,6 +8,7 @@
devices = {
apollo.id = "BOTTTGS-QQUHWAK-IFBT3T2-HGHHUZ7-QHRZXC7-JC42VT7-67ZOJBE-WHDWEQX";
zeus.id = "5BUZIS5-ESTYAJO-IQQD7EA-O3VGONJ-E74OHUJ-ZSLF4JK-6HS3UHG-4CQ5OAO";
pegasus.id = "BISYPNZ-54VKBKS-LBND4AS-JNWVOW7-BTW2UMV-QHYM5TZ-GE3AK3E-PGSXPQE";
hera = {
addresses = ["tcp6://hera.m-0.eu"];
id = "TJHVUM6-RTB6V3D-JF4GIB2-TVDF2ST-5MTN6N2-ZDIWGF7-XZUCCFG-EQG5WA6";

View file

@ -123,7 +123,7 @@ in {
cert = pkgs.privatePath "syncthing/apollo/cert.pem";
key = pkgs.privatePath "syncthing/apollo/key.pem";
}
// syncthing.declarativeWith ["hera" "zeus"] "/home/maralorn/media";
// syncthing.declarativeWith ["hera" "zeus" "pegasus"] "/home/maralorn/media";
xserver = {
enable = true;
displayManager = {

View file

@ -121,7 +121,7 @@ in {
cert = pkgs.privatePath "syncthing/hera/cert.pem";
key = pkgs.privatePath "syncthing/hera/key.pem";
}
// syncthing.declarativeWith ["apollo" "zeus"] "/media";
// syncthing.declarativeWith ["apollo" "zeus" "pegasus"] "/media";
};
boot.kernel.sysctl = {"fs.inotify.max_user_watches" = 204800;};
systemd.tmpfiles.rules = ["Z /media 0770 maralorn nginx - -"];

View file

@ -188,7 +188,7 @@ in {
openDefaultPorts = true;
configDir = "/disk/persist/syncthing";
}
// syncthing.declarativeWith ["hera" "apollo"] "/disk/persist/maralorn/media";
// syncthing.declarativeWith ["hera" "apollo" "pegasus"] "/disk/persist/maralorn/media";
xserver = {
enable = true;
displayManager = {