From ac46e723ab57589d4bd03fe12177a21bc3df38c5 Mon Sep 17 00:00:00 2001 From: Ethan Turkeltaub Date: Sun, 9 Aug 2026 12:38:27 -0400 Subject: [PATCH] Add Netbox plugins --- modules/profiles/services/netbox/default.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/modules/profiles/services/netbox/default.nix b/modules/profiles/services/netbox/default.nix index c6a7a9d8..70351af9 100644 --- a/modules/profiles/services/netbox/default.nix +++ b/modules/profiles/services/netbox/default.nix @@ -1,3 +1,5 @@ +# NOTE: Plugin migrations need to be run manually. This can be done on device: +# $ netbox-manage migrate { config, pkgs, ... }: { sops.secrets = { netbox_secret_key = { @@ -19,6 +21,12 @@ services.netbox = { enable = true; package = pkgs.netbox; + plugins = + _ps: with pkgs.netboxPlugins; [ + netbox-attachments + netbox-interface-synchronization + netbox-inventory + ]; secretKeyFile = config.sops.secrets.netbox_secret_key.path; apiTokenPeppersFile = config.sops.secrets.netbox_api_token_peppers.path; listenAddress = "0.0.0.0"; @@ -32,6 +40,11 @@ REMOTE_AUTH_BACKEND = "social_core.backends.open_id_connect.OpenIdConnectAuth"; SOCIAL_AUTH_OIDC_OIDC_ENDPOINT = "https://auth.e10.camp"; SOCIAL_AUTH_OIDC_KEY = "gY0aO8QGJT.~UbRntqa72YTm54DSUHr3HeBu4zMBlWwMwlJwLtbhXflUCAczeC-snr9I_5tZ"; + PLUGINS = [ + "netbox_attachments" + "netbox_interface_synchronization" + "netbox_inventory" + ]; }; extraConfig = '' import os