+2
-8
module.nix
+2
-8
module.nix
···
125
default = { };
126
example = lib.literalExpression ''
127
{
128
-
# this is only an example, do NOT do this! your secret will end up readable by *everyone*!
129
-
KNOT_SERVER_SECRET = "verysecuresecret";
130
}
131
'';
132
description = ''
133
Additional environment variables. Use `environmentFile` for secrets.
134
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.
138
'';
139
};
140
···
155
example = "/etc/tangled/knotserver.env";
156
description = ''
157
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
'';
162
};
163
};
···
125
default = { };
126
example = lib.literalExpression ''
127
{
128
+
KNOT_SERVER_OWNER = "did:web:handle.invalid";
129
}
130
'';
131
description = ''
132
Additional environment variables. Use `environmentFile` for secrets.
133
134
+
`KNOT_SERVER_OWNER` must be set for the program to work correctly.
135
'';
136
};
137
···
152
example = "/etc/tangled/knotserver.env";
153
description = ''
154
Environment file to set additional configuration and secrets for the knotserver.
155
'';
156
};
157
};