Configure reMarkable for syncthing
This commit is contained in:
parent
50c4da612b
commit
d118c3aed0
|
@ -5,6 +5,7 @@
|
||||||
./devices/ion.nix
|
./devices/ion.nix
|
||||||
./devices/monarch.nix
|
./devices/monarch.nix
|
||||||
./devices/northstar.nix
|
./devices/northstar.nix
|
||||||
|
./devices/remarkable.nix
|
||||||
];
|
];
|
||||||
services.syncthing = {
|
services.syncthing = {
|
||||||
user = "xenia";
|
user = "xenia";
|
||||||
|
@ -18,7 +19,7 @@
|
||||||
};
|
};
|
||||||
"Books" = {
|
"Books" = {
|
||||||
path = "/mnt/secondary/syncthing/books";
|
path = "/mnt/secondary/syncthing/books";
|
||||||
devices = [ "monarch" "northstar" ];
|
devices = [ "monarch" "northstar" "remarkable" ];
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
"Camera" = {
|
"Camera" = {
|
||||||
|
@ -46,6 +47,11 @@
|
||||||
devices = [ "ion" "monarch" "northstar" ];
|
devices = [ "ion" "monarch" "northstar" ];
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
|
"Xochitl" = {
|
||||||
|
path = "/mnt/secondary/syncthing/xochitl";
|
||||||
|
devices = [ "remarkable" ];
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
4
syncthing/devices/remarkable.nix
Normal file
4
syncthing/devices/remarkable.nix
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
services.syncthing.devices."remarkable" = { id = "GHB6JKS-JOA3HHP-TYHB3IJ-GLV26QW-RWRZAMG-XYFGFB6-QLUHDSH-GNPZVAO"; };
|
||||||
|
}
|
|
@ -45,6 +45,13 @@
|
||||||
ignorePerms = true;
|
ignorePerms = true;
|
||||||
enable = lib.mkDefault false;
|
enable = lib.mkDefault false;
|
||||||
};
|
};
|
||||||
|
"Xochitl" = {
|
||||||
|
label = "Xochitl";
|
||||||
|
id = "dkcbx-kq7hl";
|
||||||
|
type = "receiveonly";
|
||||||
|
ignorePerms = true;
|
||||||
|
enable = lib.mkDefault false;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue