30 lines
689 B
Nix
30 lines
689 B
Nix
{
|
|
virtualisation.arion = {
|
|
backend = "podman-socket";
|
|
projects.syncthing = {
|
|
settings = {
|
|
services.syncthing.service = {
|
|
ports = [
|
|
"8384:8384"
|
|
"22000:22000/tcp"
|
|
"22000:22000/udp"
|
|
"21027:21027/udp"
|
|
];
|
|
container_name = "syncthing";
|
|
image = "lscr.io/linuxserver/syncthing:latest";
|
|
restart = "always";
|
|
environment = {
|
|
PUID = "1000";
|
|
GUID = "1000";
|
|
|
|
};
|
|
volumes = [
|
|
"/srv/docker/syncthing/appdata/config:/config"
|
|
"/srv/docker/syncthing/data:/data"
|
|
];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|