about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--nix/modules/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/nix/modules/default.nix b/nix/modules/default.nix
index d5f581b..6b7232b 100644
--- a/nix/modules/default.nix
+++ b/nix/modules/default.nix
@@ -74,6 +74,12 @@ in
       description = "Home directory for searchix user";
     };
 
+    environment = mkOption {
+      type = with types; attrsOf (nullOr (oneOf [ str path package ]));
+      default = { };
+      description = "Environment variables passed to the service process.";
+    };
+
     settings = mkOption {
       default = { };
       type = types.submodule {