aboutsummaryrefslogtreecommitdiff
path: root/instance-options.nix
diff options
context:
space:
mode:
authorstuebinm2021-02-25 22:52:38 +0100
committerstuebinm2021-02-25 22:53:37 +0100
commit939cad8f30a7621162c104149b48211f3755636f (patch)
tree785e136e7ca24b35fda62745d23f6cf0047cbb15 /instance-options.nix
parent791fe2dce2374e1ff8b1cf4dc54bf9aac2b5c8a8 (diff)
Version bump to current coding machine master
This broke a lot of things, but possibly they might work again now.
Diffstat (limited to 'instance-options.nix')
-rw-r--r--instance-options.nix9
1 files changed, 4 insertions, 5 deletions
diff --git a/instance-options.nix b/instance-options.nix
index 58cc99e..50d7bdc 100644
--- a/instance-options.nix
+++ b/instance-options.nix
@@ -3,8 +3,7 @@
{ lib, pkgs, config, ... }:
with lib;
-let workadventure = import ./workadventure-nix.nix { inherit lib pkgs; };
-in
+with pkgs;
{
options = rec {
backend = {
@@ -85,7 +84,7 @@ in
};
admin = mkOption {
- default = "/admin";
+ default = "/pusher/admin";
type = types.str;
description = "The base url for the admin, from the browser's point of view";
};
@@ -115,8 +114,8 @@ in
};
domain = mkOption {
- default = null;
- type = types.nullOr types.str;
+ default = "localhost";
+ type = types.str;
description = "The domain name to serve workadenture services under. Mutually exclusive with domains.X";
};