feat: add continuwuity server
This commit is contained in:
parent
2e50350107
commit
4863ab05f5
4 changed files with 73 additions and 15 deletions
|
|
@ -56,6 +56,19 @@ rec {
|
|||
"router" = {
|
||||
ip = ips.router;
|
||||
};
|
||||
"continuwuity" = {
|
||||
ip = ips.pi;
|
||||
reverse_proxy = {
|
||||
port = 6167;
|
||||
aliases = [ "matrix" ];
|
||||
endpoints = [
|
||||
"/_matrix"
|
||||
"/_matrix/federation"
|
||||
];
|
||||
};
|
||||
domainOverride = "continuwuity.home";
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
dnsMappings = builtins.listToAttrs (map (name: {
|
||||
|
|
|
|||
|
|
@ -11,4 +11,10 @@ rec {
|
|||
source = "/dev/disk/by-uuid/a3ffb02e-fe9f-4bce-bd94-af0294ebff8f";
|
||||
options = ["noatime"];
|
||||
};
|
||||
matrix-storage = {
|
||||
path = "/var/lib/continuwuity";
|
||||
type = "none";
|
||||
source = "${ssd.path}/continuwuity";
|
||||
options = ["bind"];
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue