From 2832c54fdc251a97f295e0152d8084e1e4ca1476 Mon Sep 17 00:00:00 2001 From: nyanloutre Date: Sun, 22 Apr 2018 12:29:34 +0200 Subject: [PATCH] Config Riot --- services.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/services.nix b/services.nix index ab42532b7..fc6da1383 100644 --- a/services.nix +++ b/services.nix @@ -96,10 +96,18 @@ in services.searx.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 = { "riot" = { listen = [ { addr = "127.0.0.1"; port = riot_port; } ]; - locations = { "/" = { root = pkgs.riot-web; }; }; + locations = { "/" = { root = pkgs.riot-web_custom; }; }; }; };