about summary refs log tree commit diff
path: root/nixos/tests/web-apps
diff options
context:
space:
mode:
authorMinijackson <minijackson@riseup.net>2023-03-14 20:23:50 +0100
committerRaito Bezarius <masterancpp@gmail.com>2023-04-04 11:45:31 +0200
commit78eb4d64e70b95389670f24d8b00631db00653b3 (patch)
treeca93f8e0b97e50d0592a0c09b64d855298f33281 /nixos/tests/web-apps
parent6e054138b05670b2285ec815be44ef683e9bc1da (diff)
netbox_3_3: init
reintroduce previous version, use in NixOS module if stateVersion < 23.05
Diffstat (limited to 'nixos/tests/web-apps')
-rw-r--r--nixos/tests/web-apps/netbox.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/tests/web-apps/netbox.nix b/nixos/tests/web-apps/netbox.nix
index 9a828dde38223..30de74f1886c0 100644
--- a/nixos/tests/web-apps/netbox.nix
+++ b/nixos/tests/web-apps/netbox.nix
@@ -8,7 +8,7 @@ let
   testUser = "alice";
   testPassword = "verySecure";
   testGroup = "netbox-users";
-in import ../make-test-python.nix ({ lib, pkgs, ... }: {
+in import ../make-test-python.nix ({ lib, pkgs, netbox, ... }: {
   name = "netbox";
 
   meta = with lib.maintainers; {
@@ -18,6 +18,7 @@ in import ../make-test-python.nix ({ lib, pkgs, ... }: {
   nodes.machine = { config, ... }: {
     services.netbox = {
       enable = true;
+      package = netbox;
       secretKeyFile = pkgs.writeText "secret" ''
         abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
       '';