summaryrefslogtreecommitdiff
path: root/docs/installation/nixos_en.md
blob: f3c4988b17dd2a1020c0db54662f2f9fdc78fd9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Installing on NixOS

NixOS contains a source build package of pleroma and a NixOS module to install it.
For installation add this to your configuration.nix and add a config.exs next to it:
```nix
  services.pleroma = {
    enable = true;
    configs = [ (lib.fileContents ./config.exs) ];
    secretConfigFile = "/var/lib/pleroma/secret.exs";
  };
```

## Questions
The nix community uses matrix for communication: [#nix:nixos.org](https://matrix.to/#/#nix:nixos.org)