From 4a3adc88c27260cf941dee1f243badd84b7abd7b Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Tue, 22 Jul 2025 17:37:08 +0300 Subject: Fixed several issues with the nix flake --- service.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'service.nix') diff --git a/service.nix b/service.nix index 9e9e437..4cc39b3 100644 --- a/service.nix +++ b/service.nix @@ -14,7 +14,11 @@ in options.services.eko = { enable = lib.mkEnableOption "eko service"; - package = lib.mkPackageOption inputs.self.packages.${pkgs.stdenv.hostPlatform.system}.eko-server { }; + package = lib.mkOption { + description = "Eko package to use as the server executable"; + default = inputs.self.packages.${pkgs.system}.eko-server; + type = lib.types.package; + }; dataDir = lib.mkOption { description = "Eko data directory"; -- cgit v1.3.1