Config Riot
This commit is contained in:
parent
7021682f00
commit
2832c54fdc
10
services.nix
10
services.nix
@ -96,10 +96,18 @@ in
|
|||||||
services.searx.enable = true;
|
services.searx.enable = true;
|
||||||
|
|
||||||
services.nginx.enable = true;
|
services.nginx.enable = true;
|
||||||
|
nixpkgs.overlays = [ (self: super: { riot-web_custom = super.riot-web.override { conf = ''
|
||||||
|
{
|
||||||
|
"default_hs_url": "https://matrix.nyanlout.re",
|
||||||
|
"default_is_url": "https://vector.im",
|
||||||
|
"brand": "Nyanloutre",
|
||||||
|
"default_theme": "dark"
|
||||||
|
}
|
||||||
|
''; }; } ) ];
|
||||||
services.nginx.virtualHosts = {
|
services.nginx.virtualHosts = {
|
||||||
"riot" = {
|
"riot" = {
|
||||||
listen = [ { addr = "127.0.0.1"; port = riot_port; } ];
|
listen = [ { addr = "127.0.0.1"; port = riot_port; } ];
|
||||||
locations = { "/" = { root = pkgs.riot-web; }; };
|
locations = { "/" = { root = pkgs.riot-web_custom; }; };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user