First
[anni] / docs / installation / nixos_en.md
1 # Installing on NixOS
2
3 NixOS contains a source build package of pleroma and a NixOS module to install it.
4 For installation add this to your configuration.nix and add a config.exs next to it:
5 ```nix
6   services.pleroma = {
7     enable = true;
8     configs = [ (lib.fileContents ./config.exs) ];
9     secretConfigFile = "/var/lib/pleroma/secret.exs";
10   };
11 ```
12
13 ## Questions
14 The nix community uses matrix for communication: [#nix:nixos.org](https://matrix.to/#/#nix:nixos.org)
15