syncthing: init
This commit is contained in:
parent
d90c248dc2
commit
5930433925
6 changed files with 93 additions and 0 deletions
25
modules/nixos/services/syncthing/server.nix
Normal file
25
modules/nixos/services/syncthing/server.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{ config, ... }:
|
||||
|
||||
{
|
||||
services.syncthing.settings.folders = {
|
||||
minecraft-instances = {
|
||||
path = "${config.services.syncthing.dataDir}/minecraft-instances";
|
||||
type = "receiveonly";
|
||||
devices = [
|
||||
"drone"
|
||||
"earthmover"
|
||||
"swordsmachine"
|
||||
];
|
||||
};
|
||||
|
||||
terraria = {
|
||||
path = "${config.services.syncthing.dataDir}/terraria";
|
||||
type = "receiveonly";
|
||||
devices = [
|
||||
"drone"
|
||||
"earthmover"
|
||||
"swordsmachine"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue