restructured & first test of toggleable config
This commit is contained in:
16
modules/system/syncthing.nix
Normal file
16
modules/system/syncthing.nix
Normal file
@@ -0,0 +1,16 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
services.syncthing = {
|
||||
enable = true;
|
||||
user = "blake";
|
||||
group = "blake";
|
||||
|
||||
dataDir = "/home/blake/.local/state/syncthing";
|
||||
configDir = "/home/blake/.config/syncthing";
|
||||
|
||||
# webui
|
||||
guiAddress = "0.0.0.0:2222";
|
||||
openDefaultPorts = true;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user