+2
-8
module.nix
+2
-8
module.nix
···
125
125
default = { };
126
126
example = lib.literalExpression ''
127
127
{
128
-
# this is only an example, do NOT do this! your secret will end up readable by *everyone*!
129
-
KNOT_SERVER_SECRET = "verysecuresecret";
128
+
KNOT_SERVER_OWNER = "did:web:handle.invalid";
130
129
}
131
130
'';
132
131
description = ''
133
132
Additional environment variables. Use `environmentFile` for secrets.
134
133
135
-
`KNOT_SERVER_SECRET` must be set for the knotserver to work, and can be obtained from
136
-
[this page](https://tangled.sh/knots). Please set this with environmentFile instead of setting it here
137
-
directly.
134
+
`KNOT_SERVER_OWNER` must be set for the program to work correctly.
138
135
'';
139
136
};
140
137
···
155
152
example = "/etc/tangled/knotserver.env";
156
153
description = ''
157
154
Environment file to set additional configuration and secrets for the knotserver.
158
-
159
-
`KNOT_SERVER_SECRET` must be set for the knotserver to work, and can be obtained from
160
-
[this page](https://tangled.sh/knots).
161
155
'';
162
156
};
163
157
};