Matrix: Difference between revisions
imported>Pacien mautrix-telegram: update module merge status and add example config |
imported>Pacien add comments on time-sensitive imports |
||
Line 94: | Line 94: | ||
==== mautrix-telegram ==== | ==== mautrix-telegram ==== | ||
Example config: | Example config: | ||
Line 102: | Line 99: | ||
<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 = [ | imports = [ | ||
<nixos-unstable/nixos/modules/services/misc/mautrix-telegram.nix> | <nixos-unstable/nixos/modules/services/misc/mautrix-telegram.nix> | ||
Line 156: | Line 154: | ||
==== matrix-appservice-discord ==== | ==== matrix-appservice-discord ==== | ||
Example config: | Example config: | ||
<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 = [ | imports = [ | ||
<nixos-unstable/nixos/modules/services/misc/matrix-appservice-discord.nix> | <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: { | nixpkgs.overlays = [(self: super: { | ||
inherit ( | inherit (import <nixos-unstable> { }) matrix-appservice-discord; | ||
})]; | })]; | ||