victorialogs: Use package from stable

This commit is contained in:
SebastianStork 2025-11-26 20:12:02 +01:00
parent 382d9a0d44
commit c207180ae8
Signed by: SebastianStork
SSH key fingerprint: SHA256:iEM011ogNMG1q8+U500adGu/9rpPuZ2KnFtbdLeqTiI

View file

@ -1,6 +1,6 @@
{ {
config, config,
pkgs-unstable, pkgs,
lib, lib,
... ...
}: }:
@ -21,11 +21,6 @@ in
}; };
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
assertions = lib.singleton {
assertion = lib.versionOlder lib.version "25.11";
message = "TODO: Use victorialogs package from stable nixpkgs";
};
meta = { meta = {
domains.local = [ cfg.domain ]; domains.local = [ cfg.domain ];
ports.tcp = [ cfg.port ]; ports.tcp = [ cfg.port ];
@ -48,7 +43,7 @@ in
services.victorialogs = { services.victorialogs = {
enable = true; enable = true;
# The victorialogs grafana-dashboard expects the version label to have the format `victoria-logs-*` # The victorialogs grafana-dashboard expects the version label to have the format `victoria-logs-*`
package = pkgs-unstable.victorialogs.overrideAttrs ( package = pkgs.victorialogs.overrideAttrs (
_: previousAttrs: { _: previousAttrs: {
version = "victoria-logs-${previousAttrs.version}"; version = "victoria-logs-${previousAttrs.version}";
__intentionallyOverridingVersion = true; __intentionallyOverridingVersion = true;