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