module: thread hyperhive package directly — operators don't apply overlays

This commit is contained in:
müde 2026-05-15 16:51:18 +02:00
parent 8dc9b24934
commit 4f91dfef99
6 changed files with 23 additions and 25 deletions

View file

@ -1,3 +1,4 @@
{ hyperhivePackage }:
{
pkgs,
lib,
@ -12,8 +13,8 @@ in
enable = lib.mkEnableOption "hive-c0re hyperhive coordinator daemon";
package = lib.mkOption {
type = lib.types.package;
default = pkgs.hyperhive;
defaultText = lib.literalExpression "pkgs.hyperhive";
default = hyperhivePackage pkgs.stdenv.hostPlatform.system;
defaultText = lib.literalExpression "hyperhive.packages.\${system}.default";
description = "Package that provides /bin/hive-c0re.";
};
hyperhiveFlake = lib.mkOption {