fix: NetBox-4.7-Plugin-Kompat (qrcode 1.0.0, floorplan 0.10.0) + flake update

netbox-qrcode und netbox-floorplan-plugin deklarieren max. NetBox 4.6.x und
laden unter NetBox 4.7 nicht - beide auf die ersten 4.7-kompatiblen Releases
gehoben (s. COMPATIBILITY.md der jeweiligen Repos). Flake-Inputs aktualisiert.
This commit is contained in:
m3tam3re
2026-10-03 15:22:28 +02:00
parent 03db8d91cb
commit 56d0262065
2 changed files with 116 additions and 161 deletions
Generated
+75 -158
View File
@@ -2,17 +2,14 @@
"nodes": { "nodes": {
"agenix": { "agenix": {
"inputs": { "inputs": {
"darwin": "darwin", "nixpkgs": "nixpkgs"
"home-manager": "home-manager",
"nixpkgs": "nixpkgs",
"systems": "systems"
}, },
"locked": { "locked": {
"lastModified": 1770165109, "lastModified": 1790734419,
"narHash": "sha256-9VnK6Oqai65puVJ4WYtCTvlJeXxMzAp/69HhQuTdl/I=", "narHash": "sha256-n7wew722m1OTBT9DOIMxNX/NF4zfsSUABAO5eW3wikE=",
"owner": "ryantm", "owner": "ryantm",
"repo": "agenix", "repo": "agenix",
"rev": "b027ee29d959fda4b60b57566d64c98a202e0feb", "rev": "3daa710894355fa2fad8243380af373a2b4046ef",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -23,10 +20,10 @@
}, },
"agenix_2": { "agenix_2": {
"inputs": { "inputs": {
"darwin": "darwin_2", "darwin": "darwin",
"home-manager": "home-manager_3", "home-manager": "home-manager_2",
"nixpkgs": "nixpkgs_3", "nixpkgs": "nixpkgs_3",
"systems": "systems_4" "systems": "systems_3"
}, },
"locked": { "locked": {
"lastModified": 1770165109, "lastModified": 1770165109,
@@ -42,27 +39,6 @@
"type": "github" "type": "github"
} }
}, },
"agent-lib": {
"inputs": {
"nixpkgs": [
"m3ta-home",
"nixpkgs"
]
},
"locked": {
"lastModified": 1781348569,
"narHash": "sha256-1BJtmKSqtD0CD753ZE37RgxvCJK6Iw3iKLDDaS8trY4=",
"ref": "refs/heads/master",
"rev": "75a2ed2533b4d6d8e4a34acd37e83d98d81a5fb0",
"revCount": 30,
"type": "git",
"url": "ssh://gitea@code.m3ta.dev/m3tam3re/agent-lib-legacy"
},
"original": {
"type": "git",
"url": "ssh://gitea@code.m3ta.dev/m3tam3re/agent-lib-legacy"
}
},
"agents": { "agents": {
"flake": false, "flake": false,
"locked": { "locked": {
@@ -299,16 +275,16 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1788011267, "lastModified": 1790001035,
"narHash": "sha256-mEq2kU+ljompTToZ44Afvm7d/rHJ5iMBl0tjZuyShJs=", "narHash": "sha256-1/SLBjSYBzDdDhvLQ83wrzBakyS/xNGgtxHGNuveOEQ=",
"owner": "Mic92", "owner": "Mic92",
"repo": "bun2nix", "repo": "bun2nix",
"rev": "5765b0614591f75ee8ba5596e81ae85c167d1071", "rev": "07a5bfc8ac36c5370199343fa620b69f63186e33",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "Mic92", "owner": "Mic92",
"ref": "fix-structured-attrs-hook", "ref": "llm-agents",
"repo": "bun2nix", "repo": "bun2nix",
"type": "github" "type": "github"
} }
@@ -402,28 +378,6 @@
} }
}, },
"darwin": { "darwin": {
"inputs": {
"nixpkgs": [
"agenix",
"nixpkgs"
]
},
"locked": {
"lastModified": 1744478979,
"narHash": "sha256-dyN+teG9G82G+m+PX/aSAagkC+vUv0SgUw3XkPhQodQ=",
"owner": "lnl7",
"repo": "nix-darwin",
"rev": "43975d782b418ebf4969e9ccba82466728c2851b",
"type": "github"
},
"original": {
"owner": "lnl7",
"ref": "master",
"repo": "nix-darwin",
"type": "github"
}
},
"darwin_2": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
"m3ta-home", "m3ta-home",
@@ -453,11 +407,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1781152676, "lastModified": 1789770686,
"narHash": "sha256-RxWs5ND31KzTG7wvMM+PMfUjyNpmIEr999lqNARaM5o=", "narHash": "sha256-uZkBR7yHdIKUFB5SZdfgh1qkGfI3XmYmI/lTiquxbck=",
"owner": "nix-community", "owner": "nix-community",
"repo": "disko", "repo": "disko",
"rev": "ff8702b4de27f72b4c78573dfb89ec74e36abdf1", "rev": "725ea35e410ad83be4931d1bff7e090eacaf3563",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -474,11 +428,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1781152676, "lastModified": 1789770686,
"narHash": "sha256-RxWs5ND31KzTG7wvMM+PMfUjyNpmIEr999lqNARaM5o=", "narHash": "sha256-uZkBR7yHdIKUFB5SZdfgh1qkGfI3XmYmI/lTiquxbck=",
"owner": "nix-community", "owner": "nix-community",
"repo": "disko", "repo": "disko",
"rev": "ff8702b4de27f72b4c78573dfb89ec74e36abdf1", "rev": "725ea35e410ad83be4931d1bff7e090eacaf3563",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -573,11 +527,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1788450739, "lastModified": 1790898470,
"narHash": "sha256-glZLQlzIn1fXH6PazR2iUmTo7kzzyYSshrWhLS9TqCU=", "narHash": "sha256-zTwuwezD0w3hpga6a6P8emidzAZFyWqlNeRBlpWOOl8=",
"owner": "hercules-ci", "owner": "hercules-ci",
"repo": "flake-parts", "repo": "flake-parts",
"rev": "31729ca8cbdb4fa927b34e5f4353e6a83f39e993", "rev": "024633cd702b10285db5cb19b40ad48d2399ba60",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -653,7 +607,7 @@
}, },
"flake-utils": { "flake-utils": {
"inputs": { "inputs": {
"systems": "systems_2" "systems": "systems"
}, },
"locked": { "locked": {
"lastModified": 1731533236, "lastModified": 1731533236,
@@ -671,7 +625,7 @@
}, },
"flake-utils_2": { "flake-utils_2": {
"inputs": { "inputs": {
"systems": "systems_5" "systems": "systems_4"
}, },
"locked": { "locked": {
"lastModified": 1731533236, "lastModified": 1731533236,
@@ -690,7 +644,7 @@
"hermes-agent": { "hermes-agent": {
"inputs": { "inputs": {
"flake-parts": "flake-parts_2", "flake-parts": "flake-parts_2",
"home-manager": "home-manager_4", "home-manager": "home-manager_3",
"nixpkgs": [ "nixpkgs": [
"m3ta-home", "m3ta-home",
"nixpkgs" "nixpkgs"
@@ -718,36 +672,15 @@
"home-manager": { "home-manager": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
"agenix",
"nixpkgs" "nixpkgs"
] ]
}, },
"locked": { "locked": {
"lastModified": 1745494811, "lastModified": 1790742243,
"narHash": "sha256-YZCh2o9Ua1n9uCvrvi5pRxtuVNml8X2a03qIFfRKpFs=", "narHash": "sha256-kaNo6xHiL31AbNNEreG0OTKf4j6Cxlo5bPawjX7lnbQ=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "abfad3d2958c9e6300a883bd443512c55dfeb1be", "rev": "e5fcd298a00f08b6e8390baf04aa8edb62203070",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "home-manager",
"type": "github"
}
},
"home-manager_2": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1789267039,
"narHash": "sha256-LWiBv9yAYFi2LPbUhDGHPGKYskJQjj2fw12OlyO1uQo=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "ec172013fa62135f58fb58dd17ae9651e8f39727",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -757,7 +690,7 @@
"type": "github" "type": "github"
} }
}, },
"home-manager_3": { "home-manager_2": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
"m3ta-home", "m3ta-home",
@@ -779,7 +712,7 @@
"type": "github" "type": "github"
} }
}, },
"home-manager_4": { "home-manager_3": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
"m3ta-home", "m3ta-home",
@@ -801,7 +734,7 @@
"type": "github" "type": "github"
} }
}, },
"home-manager_5": { "home-manager_4": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
"m3ta-home", "m3ta-home",
@@ -827,15 +760,15 @@
"bun2nix": "bun2nix", "bun2nix": "bun2nix",
"flake-parts": "flake-parts", "flake-parts": "flake-parts",
"nixpkgs": "nixpkgs_2", "nixpkgs": "nixpkgs_2",
"systems": "systems_3", "systems": "systems_2",
"treefmt-nix": "treefmt-nix" "treefmt-nix": "treefmt-nix"
}, },
"locked": { "locked": {
"lastModified": 1789552626, "lastModified": 1790918187,
"narHash": "sha256-uLUOUASz1t+YvEu6e1l71d/5eTnWC7psI+rRxTpj514=", "narHash": "sha256-F3py52yPDHBSKKkx4CzpTMc5KxzCBT+jLUIRNOYpr4Q=",
"owner": "numtide", "owner": "numtide",
"repo": "llm-agents.nix", "repo": "llm-agents.nix",
"rev": "cbfe11b1e27e0bfde1ce9f221fcc9c88940f0602", "rev": "20762f12777a611184868a1a4408bc42a014adf1",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -847,12 +780,11 @@
"m3ta-home": { "m3ta-home": {
"inputs": { "inputs": {
"agenix": "agenix_2", "agenix": "agenix_2",
"agent-lib": "agent-lib",
"agents": "agents_2", "agents": "agents_2",
"dms": "dms", "dms": "dms",
"dms-plugin-registry": "dms-plugin-registry", "dms-plugin-registry": "dms-plugin-registry",
"hermes-agent": "hermes-agent", "hermes-agent": "hermes-agent",
"home-manager": "home-manager_5", "home-manager": "home-manager_4",
"m3ta-nixpkgs": "m3ta-nixpkgs", "m3ta-nixpkgs": "m3ta-nixpkgs",
"nix-colors": "nix-colors", "nix-colors": "nix-colors",
"nixpkgs": [ "nixpkgs": [
@@ -861,11 +793,11 @@
"nur": "nur" "nur": "nur"
}, },
"locked": { "locked": {
"lastModified": 1789214438, "lastModified": 1790924091,
"narHash": "sha256-CMCynKomk3DJvR9OJeznClegt88LDcmfI2B345FT6Zw=", "narHash": "sha256-nkkdG9YmTNs9iq/C1QJF0HR2kDX9wXQ+ulAVKnBsrQ0=",
"ref": "refs/heads/master", "ref": "refs/heads/master",
"rev": "601eae63621786363c990361032aa969e2d7469d", "rev": "2de1ad96b96344da83204bc221e9793cb370abb3",
"revCount": 131, "revCount": 147,
"type": "git", "type": "git",
"url": "ssh://gitea@code.m3ta.dev/m3tam3re/m3ta-home" "url": "ssh://gitea@code.m3ta.dev/m3tam3re/m3ta-home"
}, },
@@ -887,11 +819,11 @@
"opencode": "opencode" "opencode": "opencode"
}, },
"locked": { "locked": {
"lastModified": 1789141095, "lastModified": 1790661658,
"narHash": "sha256-f5NLbwOwSQL+tDDelxps1VFh84obOMyw+ox9gcvE7TU=", "narHash": "sha256-W6Y26W9Wqp8VIaEMTkGMTvGJi0igXPLBN9xijUNN/ag=",
"ref": "refs/heads/master", "ref": "refs/heads/master",
"rev": "1e0db37c579935b9916c1fcb3d3ed733b4cb3114", "rev": "c1e1933eafc18e0243d9e1b3f636e372ba09a246",
"revCount": 389, "revCount": 393,
"type": "git", "type": "git",
"url": "ssh://gitea@code.m3ta.dev/m3tam3re/nixpkgs" "url": "ssh://gitea@code.m3ta.dev/m3tam3re/nixpkgs"
}, },
@@ -910,11 +842,11 @@
"opencode": "opencode_2" "opencode": "opencode_2"
}, },
"locked": { "locked": {
"lastModified": 1789586541, "lastModified": 1790927669,
"narHash": "sha256-mfKHUe1bLGbHToDdij4cxdaQT8lx7/HE0FbmJ64/2s0=", "narHash": "sha256-LCH5KltoejFeZrKffv40ds2gEFzfbiMsFW+PwyiD4z8=",
"ref": "refs/heads/master", "ref": "refs/heads/master",
"rev": "c9653a10a256c8581761b6f63b6c3d648d265a2d", "rev": "9d21a30d12b85f4de3d7b8ab47062c3b15600468",
"revCount": 390, "revCount": 394,
"type": "git", "type": "git",
"url": "https://code.m3ta.dev/m3tam3re/nixpkgs" "url": "https://code.m3ta.dev/m3tam3re/nixpkgs"
}, },
@@ -1010,11 +942,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1786747096, "lastModified": 1789916284,
"narHash": "sha256-9QqhmaLVsPhKdMSBaWKjDqeGRn8G4ov4cVuZ6JFwXbo=", "narHash": "sha256-lv8kCCNM04qFsEMjDVrx6Z4q1afk46CBCQQq1wk5yNM=",
"owner": "numtide", "owner": "numtide",
"repo": "nix-vm-test", "repo": "nix-vm-test",
"rev": "c8781a0ea2d8417506fff7722eae5a6316461212", "rev": "f6688c8cc9185daccbeb89b2ff6e57dd66e5474a",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -1035,11 +967,11 @@
"treefmt-nix": "treefmt-nix_4" "treefmt-nix": "treefmt-nix_4"
}, },
"locked": { "locked": {
"lastModified": 1789567195, "lastModified": 1790753087,
"narHash": "sha256-ymvPUaBvMmGvxsPbmrocpxO4XK+H+K12YjgKIyG3Rwk=", "narHash": "sha256-8qbcLsWajUJ316g6H1lLKnjxO/Ni+hnjbnw4fqTB4SE=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nixos-anywhere", "repo": "nixos-anywhere",
"rev": "1c2f124e970fed2a49bd14ce0a8b4e9bff74d3b4", "rev": "3c6e0cc24fbc69b97a22cf09bb6ca361354e0490",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -1060,11 +992,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1789036642, "lastModified": 1790246259,
"narHash": "sha256-ng2Ou1UrVCP98OAJiq8Mv6aDF/kjQWyaKm4PaxWtAu4=", "narHash": "sha256-tIsExtl9e4G0S4r4OhJe9v/zv89/N+gvh+evAcgO6mk=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nixos-images", "repo": "nixos-images",
"rev": "4fcaaefd02b5bc777f99afd620cb1a9aa1fb5b83", "rev": "079349fa2e5bbb103eb0226cb27915cf1c0d6f05",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -1075,11 +1007,11 @@
}, },
"nixos-stable": { "nixos-stable": {
"locked": { "locked": {
"lastModified": 1789114715, "lastModified": 1790450978,
"narHash": "sha256-ugpsyk3NM2s87vXfUiIIiibbJ4Pp0JPS5p/3mfs+q+c=", "narHash": "sha256-/eLCD/X9kaWJqPR47+fDozEC87Hjmm3i8gJbYmDAD7g=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "21a67dc470149f337cecafbe965d8d252a390518", "rev": "5e2305d577ca00acbba631b05cb1094d172b29f3",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -1091,16 +1023,16 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1754028485, "lastModified": 1790340521,
"narHash": "sha256-IiiXB3BDTi6UqzAZcf2S797hWEPCRZOwyNThJIYhUfk=", "narHash": "sha256-cRrWlIjVRJ6BHDr9caUdXsZ3owzWIKYHpNmGPHBInIU=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "59e69648d345d6e8fef86158c555730fa12af9de", "rev": "f5c082a40f7571c266e74e80ae2e68aadd8a9fc7",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "NixOS", "owner": "NixOS",
"ref": "nixos-25.05", "ref": "nixos-26.05",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }
@@ -1185,11 +1117,11 @@
}, },
"nixpkgs-unstable": { "nixpkgs-unstable": {
"locked": { "locked": {
"lastModified": 1789546076, "lastModified": 1790822859,
"narHash": "sha256-zVxLZiSnmaaPLwnhj7pwmqe3axBg/C6nG5JZsJMh2g4=", "narHash": "sha256-69xHQhAeMAD2wDXO7T2pcOZIF9Sga2W+JkmY2a11Ops=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "b1b875982b17dabde9b4a37f3e229e74913e6db3", "rev": "c59305bab2065cfecc4944690d9eedbb56f3a9fa",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -1233,11 +1165,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1789073787, "lastModified": 1790600678,
"narHash": "sha256-xfX/toC2QV707s06GbP4II/TxYF0fNQj7s5/LClNDKc=", "narHash": "sha256-6k3n7X2UsZ6tAlWTz99RimiZab+17tMUrw9sRUcELiA=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "aff8a0b28396750446e5537a96461bc4facdb287", "rev": "f45c6f04c2f013f004bf94e284e95d72898d9393",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -1345,11 +1277,11 @@
}, },
"nixpkgs_9": { "nixpkgs_9": {
"locked": { "locked": {
"lastModified": 1789459628, "lastModified": 1790870687,
"narHash": "sha256-JOaadoI/IC9qEvwlnjwAhwdcWkCDqEeOJ+cOtUH/8RQ=", "narHash": "sha256-yNMwoLrMFI5dS7NZsrQAMBVyOXjQ5uXFDLHjh//OAK4=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "b67c7a60c3732edd4b947a7df8af06215851a614", "rev": "4feb8eb8bf30f323a8a5d285f14ee51d6a7197b1",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -1408,11 +1340,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1789586442, "lastModified": 1790934798,
"narHash": "sha256-/FufEHB+yKo3Dfq53GwIJHcKjLLu2rmD9V2Op0ZEcJc=", "narHash": "sha256-29A/UAIqB3enJFS23WuIhZ+sTy3/IU6Xv8QBCjS3aZY=",
"owner": "nix-community", "owner": "nix-community",
"repo": "NUR", "repo": "NUR",
"rev": "12f07b3d8fa32eb640bf6c24b551d54dc0b9b15f", "rev": "54e45f86bcd058b02343a339a21bd650e8b6562b",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -1565,7 +1497,7 @@
"azion-scheduler": "azion-scheduler", "azion-scheduler": "azion-scheduler",
"colmena": "colmena", "colmena": "colmena",
"disko": "disko", "disko": "disko",
"home-manager": "home-manager_2", "home-manager": "home-manager",
"llm-agents": "llm-agents", "llm-agents": "llm-agents",
"m3ta-home": "m3ta-home", "m3ta-home": "m3ta-home",
"m3ta-nixpkgs": "m3ta-nixpkgs_2", "m3ta-nixpkgs": "m3ta-nixpkgs_2",
@@ -1699,21 +1631,6 @@
"type": "github" "type": "github"
} }
}, },
"systems_5": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"treefmt-nix": { "treefmt-nix": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
+41 -3
View File
@@ -10,17 +10,46 @@
staticRoot = "${config.services.netbox.dataDir}/static"; staticRoot = "${config.services.netbox.dataDir}/static";
# nixpkgs >= 25.11: Plugin-Pakete liegen im passthru-Set netbox.plugins # nixpkgs >= 25.11: Plugin-Pakete liegen im passthru-Set netbox.plugins
# (python3Packages.netbox-* sind Throw-Stubs); pluginName = NetBox-Modulname # (python3Packages.netbox-* sind Throw-Stubs); pluginName = NetBox-Modulname
#
# nixpkgs-unstable liefert netbox-qrcode 0.0.21 und netbox-floorplan-plugin
# 0.9.2 — beide deklarieren max. NetBox 4.6.x und laden unter NetBox 4.7
# nicht ("requires NetBox maximum version 4.6.99"). Bis die Versionen im
# Modul-Set nachziehen, werden sie hier auf die ersten 4.7-kompatiblen
# Releases gehoben (qrcode 1.0.0 / floorplan 0.10.0, s. COMPATIBILITY.md
# der jeweiligen Repos).
netboxPlugins = with pkgs.unstable.netbox.plugins; [ netboxPlugins = with pkgs.unstable.netbox.plugins; [
netbox-dns netbox-dns
netbox-qrcode (netbox-qrcode.overridePythonAttrs (old: rec {
version = "1.0.0";
src = pkgs.fetchFromGitHub {
owner = "netbox-community";
repo = "netbox-qrcode";
tag = "v${version}";
hash = "sha256-4BtK1//TfcNiFgw2U+S6SH58Nb/kAmFk+a/GAhQ/+SU=";
};
# setup.py deklariert ab 1.0.0 zusaetzlich 'packaging'
dependencies =
(old.dependencies or [])
++ [
pkgs.unstable.netbox.python.pkgs.packaging
];
}))
netbox-routing netbox-routing
netbox-topology-views netbox-topology-views
netbox-floorplan-plugin (netbox-floorplan-plugin.overridePythonAttrs (old: rec {
version = "0.10.0";
src = pkgs.fetchFromGitHub {
owner = "netbox-community";
repo = "netbox-floorplan-plugin";
tag = "v${version}";
hash = "sha256-YVQ3sBh9FYiYiikReYruzSGdKMYrqx0tMWKcCAIrrOk=";
};
}))
]; ];
in { in {
services.netbox = { services.netbox = {
enable = true; enable = true;
package = pkgs.unstable.netbox; package = pkgs.unstable.netbox_4_7;
listenAddress = "127.0.0.1"; listenAddress = "127.0.0.1";
port = servicePort; port = servicePort;
secretKeyFile = config.age.secrets.netbox-secret-key.path; secretKeyFile = config.age.secrets.netbox-secret-key.path;
@@ -70,6 +99,15 @@ in {
''; '';
}; };
# NetBox >= 4.7 hat den 'housekeeping'-Management-Befehl entfernt
# (netbox-community/netbox#21565): Housekeeping laeuft seit NetBox 4.4
# automatisch als interner System-Job im RQ-Worker. Der Timer aus dem
# stabilen NixOS-Modul ruft den Befehl trotzdem taeglich auf und die Unit
# failed mit "Unknown command: 'housekeeping'" → beide Units maskieren.
# Kann entfallen, sobald der Modul das selbst korrekt behandelt.
systemd.services.netbox-housekeeping.enable = false;
systemd.timers.netbox-housekeeping.enable = false;
services.nginx = { services.nginx = {
enable = true; enable = true;
virtualHosts.netbox-static = { virtualHosts.netbox-static = {