added syncthing
This commit is contained in:
parent
e34907e038
commit
b8907010fe
8 changed files with 46 additions and 17 deletions
21
modules/system/services/syncthing.nix
Normal file
21
modules/system/services/syncthing.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{config, lib, pkgs, modulesPath, ... }:
|
||||
{
|
||||
services.syncthing = {
|
||||
enable = true;
|
||||
dataDir = "/home/speccon18";
|
||||
openDefaultPorts = true;
|
||||
configDir = "/home/speccon18/.config/syncthing";
|
||||
user = "speccon18";
|
||||
group = "users";
|
||||
extraOptions.gui = {
|
||||
user = "admin";
|
||||
password = "Strife-Rerun-Lily-Pushover-Alongside-Raider0-Freebase";
|
||||
};
|
||||
guiAddress = "0.0.0.0:8384";
|
||||
overrideDevices = true;
|
||||
overrideFolders = true;
|
||||
devices = {
|
||||
"syncthing_server" = { id = "N3UGNP6-ZU6JHBX-WNJDEUF-FV5DOWA-VAGFDYN-FIIMFRR-C3HGQHU-WOEIUQ6"; };
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue