add many database clients

This commit is contained in:
kiri committed 2026-09-04 14:16:22 +02:00
1 parent 4a4b523259
commit 2172aeb179
1 file changed
+39 -1
+39 -1
View File
@@ -70,11 +70,49 @@
flake.modules.homeManager.workstation-apps =
{ pkgs, ... }:
{
home.file.".harlequin.toml".text = ''
[profiles.taop]
adapter = "postgres"
conn_str = "postgresql://taop:taop@127.0.0.1:5433/taop"
[profiles.schemas]
adapter = "postgres"
conn_str = "postgresql://mathesar:mathesar@127.0.0.1:55432/traceability"
'';
home.packages = with pkgs; [
postman
spotify
rainfrog
dblab
harlequin
tabularis
dbgate
pgadmin4-desktopmode
tbls
pgmodeler
(pgmodeler.overrideAttrs (old: {
version = "2.0.0-beta";
src = fetchFromGitHub {
owner = "nullptrlabs";
repo = "pgmodeler";
rev = "v2.0.0-beta";
hash = "sha256-NH7iRc484HskeSa8fi3nYThLq6kul3MItaiEezA4pd8=";
};
nativeBuildInputs = builtins.filter (input: input != qt6.qmake) old.nativeBuildInputs ++ [ cmake ];
buildInputs = old.buildInputs ++ [ libxml2 ];
qmakeFlags = [ ];
cmakeFlags = [ "-DPGM_PREFIX=${placeholder "out"}" ];
postPatch = ''
patchShebangs getbuildnum.sh
substituteInPlace BuildConfs.cmake \
--replace-fail /usr/bin/clang++ "$CXX" \
--replace-fail /usr/bin/clang "$CC"
'';
postInstall = ''
install -Dm444 "$src/assets/conf/pgmodeler_logo.png" \
"$out/share/icons/hicolor/256x256/apps/pgmodeler.png"
'';
}))
calcure
planify
unzip