1# OCS Inventory Agent {#module-services-ocsinventory-agent}
2
3[OCS Inventory NG](https://ocsinventory-ng.org/) or Open Computers and Software inventory
4is an application designed to help IT administrator to keep track of the hardware and software
5configurations of computers that are installed on their network.
6
7OCS Inventory collects information about the hardware and software of networked machines
8through the **OCS Inventory Agent** program.
9
10This NixOS module enables you to install and configure this agent so that it sends information from your computer to the OCS Inventory server.
11
12For more technical information about OCS Inventory Agent, refer to [the Wiki documentation](https://wiki.ocsinventory-ng.org/03.Basic-documentation/Setting-up-the-UNIX-agent-manually-on-client-computers/).
13
14
15## Basic Usage {#module-services-ocsinventory-agent-basic-usage}
16
17A minimal configuration looks like this:
18
19```nix
20{
21 services.ocsinventory-agent = {
22 enable = true;
23 settings = {
24 server = "https://ocsinventory.localhost:8080/ocsinventory";
25 tag = "01234567890123";
26 };
27 };
28}
29```
30
31This configuration will periodically run the ocsinventory-agent SystemD service.
32
33The OCS Inventory Agent will inventory the computer and then sends the results to the specified OCS Inventory Server.