Matrix: Difference between revisions

imported>Pacien
package has been renamed: riot -> element
imported>Pacien
remove imports from unstable (packages and modules are now in current stable)
Line 100: Line 100:
<syntaxhighlight lang="nix">
<syntaxhighlight lang="nix">
{
{
  # The module will be available in NixOS 20.09. For now, we need to import it from the unstable channel.
  imports = [
    <nixos-unstable/nixos/modules/services/misc/mautrix-telegram.nix>
  ];
   services.matrix-synapse = {
   services.matrix-synapse = {
     enable = true;
     enable = true;
Line 166: Line 161:
<syntaxhighlight lang="nix">
<syntaxhighlight lang="nix">
{
{
  # The module will be available in NixOS 20.09. For now, we need to import it from the unstable channel.
  imports = [
    <nixos-unstable/nixos/modules/services/misc/matrix-appservice-discord.nix>
  ];
  # The package will be available in NixOS 20.09. For now, we need to import it from the unstable channel.
  nixpkgs.overlays = [(self: super: {
    inherit (import <nixos-unstable> { }) matrix-appservice-discord;
  })];
   services.matrix-synapse = {
   services.matrix-synapse = {
     enable = true;
     enable = true;
Line 206: Line 191:
}
}
</syntaxhighlight>
</syntaxhighlight>


== See also ==
== See also ==