mirror of
https://github.com/miniflux/v2.git
synced 2025-09-30 19:22:11 +00:00
feat: multi db support
This commit is contained in:
parent
10b2b36895
commit
fe6c000897
25 changed files with 2612 additions and 1433 deletions
59
flake.nix
Normal file
59
flake.nix
Normal file
|
@ -0,0 +1,59 @@
|
|||
{
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.05";
|
||||
flake-utils.url = "github:numtide/flake-utils";
|
||||
};
|
||||
|
||||
outputs =
|
||||
{ nixpkgs, flake-utils, ... }:
|
||||
flake-utils.lib.eachDefaultSystem (
|
||||
system:
|
||||
let
|
||||
pkgs = import nixpkgs {
|
||||
inherit system;
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
in
|
||||
{
|
||||
devShells.default = pkgs.mkShell {
|
||||
PGHOST = "localhost";
|
||||
PGPORT = 5432;
|
||||
PGPASSWORD = "postgres";
|
||||
PGUSER = "postgres";
|
||||
PGDATABASE = "miniflux2";
|
||||
|
||||
COCKROACH_URL = "postgresql://postgres:postgres@localhost:26257/miniflux2";
|
||||
COCKROACH_INSECURE = true;
|
||||
|
||||
packages = with pkgs; [
|
||||
git
|
||||
|
||||
gnumake
|
||||
foreman
|
||||
|
||||
nil
|
||||
nixfmt-rfc-style
|
||||
|
||||
nodePackages.prettier
|
||||
nodePackages.yaml-language-server
|
||||
nodePackages.vscode-langservers-extracted
|
||||
markdownlint-cli
|
||||
nodePackages.markdown-link-check
|
||||
marksman
|
||||
taplo
|
||||
|
||||
go
|
||||
gopls
|
||||
go-tools
|
||||
gofumpt
|
||||
golangci-lint
|
||||
|
||||
postgresql
|
||||
cockroachdb
|
||||
sqlite
|
||||
usql
|
||||
];
|
||||
};
|
||||
}
|
||||
);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue