[NixOS] Add syncthing

This commit is contained in:
2023-08-03 21:26:28 -06:00
parent 5974d67b0b
commit 8fa2188c68
3 changed files with 19 additions and 3 deletions

14
nixos/syncthing.nix Normal file
View File

@@ -0,0 +1,14 @@
{ pkgs, ... }:
{
services.syncthing = {
enable = true;
relaysEnabled = true;
settings = {
devices = {
ryzen-shine = { id = "63NX4LF-DHG7DLP-P6BHDKL-QL7TFXE-3DEGJ6G-TUBNXYS-UMI35KF-BV67WQP"; };
biskcomp = { id = "63SZFEC-AVA7MAL-MRJCZXN-3J4MKY6-52CK37Q-EQDN27P-7LOTYFX-UTL7YA3"; };
nixquick = { id = "LSRG4WP-GHW7UV6-IUL5PQB-NWDWVIZ-R7PBGEH-RCHLFRR-7JBPQU2-WFEGPQP"; };
};
};
};
}