mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 14:10:33 +03:00
netbox_4_2: init (#376100)
This commit is contained in:
commit
48ecb73067
7 changed files with 16 additions and 92 deletions
|
@ -102,7 +102,9 @@ in
|
|||
package = lib.mkOption {
|
||||
type = lib.types.package;
|
||||
default =
|
||||
if lib.versionAtLeast config.system.stateVersion "24.11" then
|
||||
if lib.versionAtLeast config.system.stateVersion "25.05" then
|
||||
pkgs.netbox_4_2
|
||||
else if lib.versionAtLeast config.system.stateVersion "24.11" then
|
||||
pkgs.netbox_4_1
|
||||
else if lib.versionAtLeast config.system.stateVersion "24.05" then
|
||||
pkgs.netbox_3_7
|
||||
|
|
|
@ -736,8 +736,8 @@ in {
|
|||
networking.networkmanager = handleTest ./networking/networkmanager.nix {};
|
||||
netbox_3_6 = handleTest ./web-apps/netbox.nix { netbox = pkgs.netbox_3_6; };
|
||||
netbox_3_7 = handleTest ./web-apps/netbox.nix { netbox = pkgs.netbox_3_7; };
|
||||
netbox_4_0 = handleTest ./web-apps/netbox.nix { netbox = pkgs.netbox_4_0; };
|
||||
netbox_4_1 = handleTest ./web-apps/netbox.nix { netbox = pkgs.netbox_4_1; };
|
||||
netbox_4_2 = handleTest ./web-apps/netbox.nix { netbox = pkgs.netbox_4_2; };
|
||||
netbox-upgrade = handleTest ./web-apps/netbox-upgrade.nix {};
|
||||
# TODO: put in networking.nix after the test becomes more complete
|
||||
networkingProxy = handleTest ./networking-proxy.nix {};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue