feat: several fixes & updates

This commit is contained in:
Xavier Morel
2025-11-15 18:53:32 +01:00
parent 92f0a1ef19
commit e0335cb666
13 changed files with 143 additions and 308 deletions

View File

@@ -24,7 +24,7 @@ in
enable = true;
metricsEnable = true;
};
private = true; # available only on private lan
private = false; # available only on private lan
auth = false; # auth overlay
};
}

View File

@@ -7,30 +7,26 @@ in
{
my-lxc.matrix = {
container = {
enable = true;
cores = 2;
memory = 2048;
disk = "4G";
disk = "6G";
swap = 512;
};
system = {
port = 8008; # -> synapse
additionalPorts = [
80
8008
8080
5173
80 # element web
5173 # synapse admin
];
importConfig = [
../config/matrix-synapse.nix
../config/matrix-mas.nix
../config/matrix-nginx.nix
];
};
db = {
enable = true;
password = db_pass.matrix;
additionalDB = [
"matrix_mas"
];
};
logging = {
enable = true;
@@ -45,20 +41,6 @@ in
private = false;
auth = false;
}
{
subdomain = "matrix";
port = 8008;
private = false;
auth = false;
customRule = "Host(`matrix#DOMAIN#`) && !(PathPrefix(`/_matrix/client/*/login`) || PathPrefix(`/_matrix/client/*/logout`) || PathPrefix(`/_matrix/client/*/refresh`))";
}
{
subdomain = "matrix_auth";
port = 8080;
private = false;
auth = false;
customRule = "Host(`matrix#DOMAIN#`) && (PathPrefix(`/_matrix/client/*/login`) || PathPrefix(`/_matrix/client/*/logout`) || PathPrefix(`/_matrix/client/*/refresh`))";
}
{
subdomain = "matrix-admin";
port = 5173;

View File

@@ -5,10 +5,11 @@ in
{
my-lxc.monitoring = {
container = {
enable = true;
cores = 2;
memory = 1024;
memory = 2048;
disk = "10G";
swap = 512;
swap = 1024;
};
system = {
port = 3000; # grafana

View File

@@ -25,6 +25,7 @@ in
"dlna"
"filesystem_local"
"filesystem_smb"
"hass"
"hass_players"
"jellyfin"
"player_group"

View File

@@ -9,6 +9,7 @@
swap = 512;
};
system = {
port = 80;
importConfig = [
../config/power-ups.nix
];