add syncthing.nix module
This commit is contained in:
@@ -6,6 +6,7 @@
|
|||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
../../modules/ssh.nix
|
../../modules/ssh.nix
|
||||||
../../modules/docker.nix
|
../../modules/docker.nix
|
||||||
|
../../modules/syncthing.nix
|
||||||
../../modules/homelab/zfs.nix
|
../../modules/homelab/zfs.nix
|
||||||
../../modules/homelab/smb.nix
|
../../modules/homelab/smb.nix
|
||||||
../../modules/homelab/nfs.nix
|
../../modules/homelab/nfs.nix
|
||||||
|
|||||||
12
modules/syncthing.nix
Normal file
12
modules/syncthing.nix
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
services.syncthing = {
|
||||||
|
enable = true;
|
||||||
|
user = "blake";
|
||||||
|
group = "blake";
|
||||||
|
|
||||||
|
# webui
|
||||||
|
guiAddress = "0.0.0.0:2222";
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user