From b6a0bf0b6259843f43cd8019546cb0d5e7dfffe2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rolf=20Schr=C3=B6der?= Date: Thu, 31 Oct 2024 06:57:51 +0100 Subject: [PATCH] nixos/lighthouse: use mkPackageOption --- nixos/modules/services/blockchain/ethereum/lighthouse.nix | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/nixos/modules/services/blockchain/ethereum/lighthouse.nix b/nixos/modules/services/blockchain/ethereum/lighthouse.nix index 31de6113a5d7..7fa36bc659e8 100644 --- a/nixos/modules/services/blockchain/ethereum/lighthouse.nix +++ b/nixos/modules/services/blockchain/ethereum/lighthouse.nix @@ -216,12 +216,7 @@ in example = ""; }; - package = mkOption { - type = types.package; - default = pkgs.lighthouse; - defaultText = literalExpression "pkgs.lighthouse"; - description = lib.mdDoc "The lighthouse package that should be used."; - }; + package = lib.mkPackageOption pkgs "lighthouse" { }; }; };