summaryrefslogtreecommitdiff
path: root/service.nix
diff options
context:
space:
mode:
Diffstat (limited to 'service.nix')
-rw-r--r--service.nix6
1 files changed, 5 insertions, 1 deletions
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";