nix-config/modules/nixos/opencloud.nix
2026-01-23 10:27:07 +01:00

33 lines
674 B
Nix

{
containers.cloud = {
autoStart = true;
bindMounts = {
"/var/lib/opencloud" = {
hostPath = "/mnt/sdb1/opencloud";
isReadOnly = false;
};
};
config = {
services = {
opencloud = {
enable = true;
# port = 9200;
# settings = { };
environment = {
OC_INSECURE = "true";
OC_URL = "https://cloud.alpine-centauri.ts.net";
};
};
tailscale = {
enable = true;
useRoutingFeatures = "server";
interfaceName = "userspace-networking";
};
};
system.stateVersion = "24.05";
};
};
}