mirror of
https://github.com/nix-community/home-manager.git
synced 2026-06-05 21:02:51 +00:00
20 lines
405 B
Nix
20 lines
405 B
Nix
{ pkgs, ... }:
|
|
|
|
let
|
|
workspaceDir =
|
|
if pkgs.stdenv.hostPlatform.isDarwin then
|
|
"home-files/Library/DBeaverData/workspace6"
|
|
else
|
|
"home-files/.local/share/DBeaverData/workspace6";
|
|
in
|
|
{
|
|
programs.dbeaver.enable = true;
|
|
|
|
nmt.script = ''
|
|
assertPathNotExists \
|
|
${workspaceDir}/General/.dbeaver/data-sources.json
|
|
assertPathNotExists \
|
|
${workspaceDir}/.metadata
|
|
'';
|
|
}
|