flakes/containers/beryllium/configuration.nix

24 lines
627 B
Nix
Raw Normal View History

2026-03-15 19:27:29 +11:00
{ ... }: {
system.stateVersion = "25.11";
fileSystems."/var/lib/private" = {
device = "/persist";
fsType = "none";
options = [ "bind" ];
};
2026-03-15 22:38:53 +11:00
networking.firewall.allowedTCPPorts = [ 6167 ];
networking.firewall.allowedUDPPorts = [ 6167 ];
# TODO: this should be generically set
networking.useHostResolvConf = false;
2026-03-26 19:01:45 +11:00
networking.nameservers = [ "8.8.8.8" ];
2026-03-15 19:27:29 +11:00
services.matrix-continuwuity = {
enable = true;
settings.global = {
# TODO: link this with outer container's address
2026-03-26 19:01:45 +11:00
address = [ "10.30.2.2" ];
2026-03-15 19:27:29 +11:00
server_name = "lava.moe";
2026-03-26 19:01:45 +11:00
rocksdb_recovery_mode = 2;
2026-03-15 19:27:29 +11:00
};
};
}