refact: migrate sqlx + sqlite to tokio-postgresql
This commit is contained in:
parent
4f5e21becb
commit
03b614c62e
12 changed files with 838 additions and 250 deletions
11
devenv.nix
11
devenv.nix
|
|
@ -8,7 +8,9 @@ in
|
|||
# for Leptos
|
||||
pkgs.trunk
|
||||
pkgs.lld
|
||||
# pkgs.wasm-bindgen-cli_0_2_114
|
||||
|
||||
# for backbone-lib
|
||||
pkgs.wasm-bindgen-cli_0_2_114
|
||||
pkgs.binaryen # for wasm-opt
|
||||
|
||||
# pour burn-rs
|
||||
|
|
@ -25,6 +27,13 @@ in
|
|||
|
||||
];
|
||||
|
||||
services.postgres = {
|
||||
enable = true;
|
||||
listen_addresses = "*";
|
||||
# port = 5432;
|
||||
initialDatabases = [{ name = "trictrac"; user = "trictrac"; pass = "trictrac"; }];
|
||||
};
|
||||
|
||||
# https://devenv.sh/languages/
|
||||
languages.rust.enable = true;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue