},
"locked": {
"lastModified": 1,
- "narHash": "sha256-MC76gRRjkPwqZjcPsDrZiVYqUBdRNAeA6bUx6Ru5cWc=",
+ "narHash": "sha256-d0pFztjW1zKsfockL6q1bvRvkDN9A257733dxU3nhmQ=",
"path": "../flakes",
"type": "path"
},
},
"locked": {
"lastModified": 1,
- "narHash": "sha256-QCaeTC61eUGcWqLsPhkHg15UJYZk1CxvxpKR7SNJ0ic=",
+ "narHash": "sha256-Fm13ywWMQlFSAxCWxI+lexO1IetZ1NPrqmBssLMLHpA=",
"path": "../systems/eldiron",
"type": "path"
},
},
"locked": {
"lastModified": 1,
- "narHash": "sha256-MC76gRRjkPwqZjcPsDrZiVYqUBdRNAeA6bUx6Ru5cWc=",
+ "narHash": "sha256-d0pFztjW1zKsfockL6q1bvRvkDN9A257733dxU3nhmQ=",
"path": "./flakes",
"type": "path"
},
},
"locked": {
"lastModified": 1,
- "narHash": "sha256-QCaeTC61eUGcWqLsPhkHg15UJYZk1CxvxpKR7SNJ0ic=",
+ "narHash": "sha256-Fm13ywWMQlFSAxCWxI+lexO1IetZ1NPrqmBssLMLHpA=",
"path": "../systems/eldiron",
"type": "path"
},
},
"locked": {
"lastModified": 1,
- "narHash": "sha256-QCaeTC61eUGcWqLsPhkHg15UJYZk1CxvxpKR7SNJ0ic=",
+ "narHash": "sha256-Fm13ywWMQlFSAxCWxI+lexO1IetZ1NPrqmBssLMLHpA=",
"path": "../systems/eldiron",
"type": "path"
},
landing = pkgs.callPackage ./landing.nix { };
+ matrix = pkgs.element-web.override {
+ conf = {
+ default_server_config."m.homeserver" = {
+ base_url = "https://immae.ems.host";
+ server_name = "immae.eu";
+ };
+ default_server_config."m.identity_server" = {
+ base_url = "https://vector.im";
+ };
+ room_directory.servers = [ "immae.eu" "matrix.org" ];
+ };
+ };
+
cfg = config.myServices.websites.tools.tools;
pcfg = config.services.phpfpm.pools;
in {
SetHandler "proxy:unix:${pcfg.tools.socket}|fcgi://localhost"
</FilesMatch>
</Directory>
+
+ Alias /matrix ${matrix}
+ <Directory "${matrix}">
+ DirectoryIndex index.html
+ AllowOverride None
+ Require all granted
+ </Directory>
''
];
};