fieldpoc/docs/install/nixos.md

26 lines
787 B
Markdown
Raw Normal View History

2023-09-15 18:00:18 +02:00
# Install NixOS
2023-06-18 22:19:30 +02:00
2023-09-15 18:00:18 +02:00
To coordinate all the different components, FieldPOC is packaged with NixOS.
Follow [the official installation guide](https://nixos.org/manual/nixos/stable/#ch-installation) to install NixOS on you telephony server.
You can use the minimal installer, as we don't need graphical user interface.
2023-06-18 22:19:30 +02:00
2023-09-15 18:00:18 +02:00
## Add FieldPOC packages
FieldPOC is provided as a Flake.
Add the following inputs to your `flake.nix`:
2023-06-18 22:19:30 +02:00
```
inputs.fieldpoc.url = "git+https://git.clerie.de/clerie/fieldpoc.git";
```
Do not set the FielPOC flake to follow your nixpkgs input as this messes with the dependencies of FieldPOC.
Especially the Python modules are incredibly dependent on specific version combinations to properly run.
Add input modules to your system:
```
fieldpoc.nixosModules.default
```