fix(nix): relax configuration type for now

This commit is contained in:
oxalica 2024-09-19 05:27:56 -04:00
parent 0c28c00c3d
commit 0289164bd2

View file

@ -32,22 +32,7 @@ let
freeformType = toml.type; freeformType = toml.type;
# TODO: Auto-generate these options? Now only required options are documented. # TODO: Auto-generate these options? Now only required options are documented.
options = { options = { };
database.path = mkOption {
type = types.path;
default = "/var/lib/blahd/db.sqlite";
};
listen.address = mkOption {
type = types.str;
example = "localhost:8080";
};
server.base_url = mkOption {
type = types.str;
example = "http://localhost:8080";
};
};
}; };
in in