mirror of
https://github.com/Blah-IM/blahrs.git
synced 2025-05-01 00:31:09 +00:00
fix(nix): relax configuration type for now
This commit is contained in:
parent
0c28c00c3d
commit
0289164bd2
1 changed files with 1 additions and 16 deletions
|
@ -32,22 +32,7 @@ let
|
|||
freeformType = toml.type;
|
||||
|
||||
# TODO: Auto-generate these options? Now only required options are documented.
|
||||
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";
|
||||
};
|
||||
};
|
||||
options = { };
|
||||
};
|
||||
|
||||
in
|
||||
|
|
Loading…
Add table
Reference in a new issue