mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 18:41:34 +01:00
victorialogs: Use package from stable
This commit is contained in:
parent
382d9a0d44
commit
c207180ae8
1 changed files with 2 additions and 7 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue