structure config
This commit is contained in:
parent
28985be5f0
commit
e7a5944b7d
14 changed files with 133 additions and 100 deletions
16
modules/services/syncthing.nix
Normal file
16
modules/services/syncthing.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
services.syncthing = {
|
||||
user = "lucy";
|
||||
dataDir = "/home/lucy/sync";
|
||||
configDir = "/home/lucy/.config/syncthing";
|
||||
enable = true;
|
||||
openDefaultPorts = true;
|
||||
settings = {
|
||||
devices = {
|
||||
"cyberia" = {
|
||||
id = "OOJBAJU-AAIKLHO-BKMMHBU-2NXE75Z-HE64A6V-LET4ZXB-Q2FT2Y4-GZON3AD";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Reference in a new issue