worked on twitter api support added surrealist to flake got database create user and sign in functions working

This commit is contained in:
specCon18 2024-05-01 17:10:42 -04:00
parent 19d70ba912
commit 5b9c9187ff
12 changed files with 374 additions and 225 deletions

View file

@ -2,7 +2,11 @@
description = "A js development environment";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
flake-utils.url = "github:numtide/flake-utils";
flake-utils = {
inputs.nixpkgs.follows = "nixpkgs-unstable";
url = "github:numtide/flake-utils";
};
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
};
outputs = { self, nixpkgs, flake-utils, ... }:
@ -12,13 +16,20 @@
inherit system;
overlays = [];
};
unstable = import <nixos-unstable> { config = { allowUnfree = true; }; };
in
{
devShell = pkgs.mkShell {
buildInputs = [
pkgs.nodejs_20
pkgs.yarn
buildInputs = with pkgs; [
nodejs_20
yarn
surrealdb
unstable.surrealist
];
};
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (nixpkgs.lib.getName pkg) [
"surrealdb"
];
});
}