diff options
author | Alan Pearce | 2024-05-14 17:38:34 +0200 |
---|---|---|
committer | Alan Pearce | 2024-05-14 17:38:34 +0200 |
commit | 634534d3d22d8f458a70a1891d061c3cdefd4dd1 (patch) | |
tree | 42195a1b38175425f6f9fda780bd9423dfc08ef9 | |
parent | a94632eb788fd014bea0917a683896c44866f431 (diff) | |
download | searchix-634534d3d22d8f458a70a1891d061c3cdefd4dd1.tar.lz searchix-634534d3d22d8f458a70a1891d061c3cdefd4dd1.tar.zst searchix-634534d3d22d8f458a70a1891d061c3cdefd4dd1.zip |
feat(module): add default for Web.Environment
-rw-r--r-- | nix/modules/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/nix/modules/default.nix b/nix/modules/default.nix index 2480ce9..f6f8fbf 100644 --- a/nix/modules/default.nix +++ b/nix/modules/default.nix @@ -109,6 +109,12 @@ in default = "http://localhost:3000"; }; + environment = mkOption { + type = with types; either "production" "development"; + description = "Environment name for logging"; + default = "production"; + }; + sentryDSN = mkOption { type = types.str; description = "Optionally enable sentry to track errors."; |