nixos-test-pixelfed-wip #22
|
@ -22,7 +22,7 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
domain = mkOption {
|
domain = mkOption {
|
||||||
Niols marked this conversation as resolved
Outdated
|
|||||||
type = types.string;
|
type = types.str;
|
||||||
};
|
};
|
||||||
|
|
||||||
mastodon.enable = mkEnableOption "default Fediversity Mastodon configuration";
|
mastodon.enable = mkEnableOption "default Fediversity Mastodon configuration";
|
||||||
Niols marked this conversation as resolved
Outdated
taeer
commented
should be should be `types.str`
`types.string` was being used for too many thing so it got deprecated and now there are several different string types. `types.str` is the one where you don't want to merge definitions if it's defined in more than one place
Niols
commented
Done in Done in d97772ccc4008417aec2117d62031e9123d8deba.
|
|||||||
|
|
Reference in a new issue
You almost never need
types.anything
. And certainly in this case the set of sub-options should be defined. This can be done with simple attrsetsAlso
We don't need to have a very clear sense of which options belong where yet, but eventually I think the top-level
fediversity
options should be the ones that should be set publicly (via NixPanel), and probably the ports being used in garage shouldn't be among them.I'm not sure what the right namespace to use for those options is... maybe
fediversity-private
orfediversity.private
...Done in
73939b9d87
.