renge/netbox: Add plugins
This commit is contained in:
parent
6f67715a65
commit
0bdf13b3bd
|
@ -253,11 +253,11 @@
|
|||
"poetry2nix": "poetry2nix"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1686992369,
|
||||
"narHash": "sha256-ElxqG+mvB3ZqNvpugZsvCcsd9Vq6JmlzF96i5Qya8OE=",
|
||||
"lastModified": 1691841402,
|
||||
"narHash": "sha256-9WYGqa6hAxoTuqjSGsNivkHECIWsA/ksDETbFBzfSxM=",
|
||||
"ref": "refs/heads/master",
|
||||
"rev": "fcd0dc1d7532403fead90e7aad4595133cc994e7",
|
||||
"revCount": 52,
|
||||
"rev": "3b8f90ed3a3828784f91800c32f1f83910ce966b",
|
||||
"revCount": 55,
|
||||
"type": "git",
|
||||
"url": "https://git.sbruder.de/simon/nixpkgs-overlay"
|
||||
},
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ config, pkgs, ... }:
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
sops.secrets.netbox-secret-key = {
|
||||
|
@ -10,6 +10,16 @@
|
|||
enable = true;
|
||||
package = pkgs.netbox;
|
||||
secretKeyFile = config.sops.secrets.netbox-secret-key.path;
|
||||
plugins = ps: with ps; [
|
||||
netbox-inventory
|
||||
netbox-topology-views
|
||||
];
|
||||
settings = {
|
||||
PLUGINS = [
|
||||
"netbox_inventory"
|
||||
"netbox_topology_views"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
services.nginx.virtualHosts."netbox.sbruder.de" = {
|
||||
|
|
Loading…
Reference in a new issue