Skip to content

Commit

Permalink
nixos/graylog: set default version to 6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bbenno committed Oct 16, 2024
1 parent b4dd48a commit a6bdc63
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions nixos/modules/services/logging/graylog.nix
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ in

package = lib.mkOption {
type = lib.types.package;
default = if lib.versionOlder config.system.stateVersion "23.05" then pkgs.graylog-3_3 else pkgs.graylog-5_1;
defaultText = lib.literalExpression (if lib.versionOlder config.system.stateVersion "23.05" then "pkgs.graylog-3_3" else "pkgs.graylog-5_1");
default = pkgs.graylog-6_0;
description = "Graylog package to use.";
};

Expand Down

0 comments on commit a6bdc63

Please sign in to comment.