NetBox: Difference between revisions

Cobalt (talk | contribs)
m Added basic documentation for using plugins based on https://github.com/NixOS/nixpkgs/issues/261522
Klinger (talk | contribs)
m added a sentence about what it is, added 2 categories Server and Web Applications
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[https://netbox.dev/ {{PAGENAME}}] is available as a [[module]].
[https://netbox.dev/ {{PAGENAME}}] is a network infrastructure documentation tool. It is a web application and this [[Module]] can be installed and configured via several options.  
== Setup ==
== Setup ==


Line 34: Line 34:
         "/" = {
         "/" = {
           proxyPass = "http://[::1]:8001";
           proxyPass = "http://[::1]:8001";
           # proxyPass = "http://${config.services.netbox.listenAddress}:${config.services.netbox.port}";
           # proxyPass = "http://${config.services.netbox.listenAddress}:${toString config.services.netbox.port}";
         };
         };
         "/static/" = { alias = "${config.services.netbox.dataDir}/static/"; };
         "/static/" = { alias = "${config.services.netbox.dataDir}/static/"; };
Line 65: Line 65:
         "/" = {
         "/" = {
           proxyPass = "http://[::1]:8001";
           proxyPass = "http://[::1]:8001";
           # proxyPass = "http://${config.services.netbox.listenAddress}:${config.services.netbox.port}";
           # proxyPass = "http://${config.services.netbox.listenAddress}:${toString config.services.netbox.port}";
         };
         };
         "/static/" = { alias = "${config.services.netbox.dataDir}/static/"; };
         "/static/" = { alias = "${config.services.netbox.dataDir}/static/"; };
Line 92: Line 92:
   };
   };
}
}
</syntaxhighlight>The plugin identifier in `services.netbox.settings.PLUGINS` is usually contained in the official documentation for the plugin.
</syntaxhighlight>The plugin identifier for <source lang="nix" enclose="none">services.netbox.settings.PLUGINS</source> is usually contained in the official documentation for the plugin. It usually is slightly different from the package name.


=== Setup Superuser ===
=== Setup Superuser ===
Line 126: Line 126:
[[Category:Guide]]
[[Category:Guide]]
[[Category:Applications]]
[[Category:Applications]]
[[Category:Web Applications]]
[[Category:Server]]