Merge branch 'main' into sway
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
../modules/base.nix
|
||||
../modules/kafka-mounts.nix
|
||||
../modules/server.nix
|
||||
../modules/syncthing.nix
|
||||
./caddy.nix
|
||||
];
|
||||
|
||||
@@ -20,6 +21,8 @@
|
||||
privileged = true;
|
||||
};
|
||||
|
||||
services.syncthing.guiAddress = "0.0.0.0:8384";
|
||||
|
||||
networking.firewall.allowedTCPPorts = [
|
||||
80 443 # caddy
|
||||
8000
|
||||
@@ -27,6 +30,7 @@
|
||||
8010 # audio bookshelf
|
||||
8080 # file browser
|
||||
8234 # shiori (non-standard)
|
||||
8384 # syncthing
|
||||
9117
|
||||
8191 # flaresolverr
|
||||
];
|
||||
|
||||
11
hosts/modules/syncthing.nix
Normal file
11
hosts/modules/syncthing.nix
Normal file
@@ -0,0 +1,11 @@
|
||||
{ config, pkgs, inputs, ... }:
|
||||
{
|
||||
# sync thing
|
||||
services.syncthing = {
|
||||
enable = true;
|
||||
openDefaultPorts = true;
|
||||
user = "alex";
|
||||
configDir = "/home/alex/.config/syncthing";
|
||||
dataDir = "/home/alex";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user