diff --git a/home/common/core/nixvim/default.nix b/home/common/core/nixvim/default.nix index d0f9db2..53544ea 100644 --- a/home/common/core/nixvim/default.nix +++ b/home/common/core/nixvim/default.nix @@ -25,6 +25,7 @@ pkgs.shellharden pkgs.shfmt pkgs.stylua + pkgs.glow ]; programs.nixvim = { enable = true; diff --git a/home/common/core/nixvim/plugins/default.nix b/home/common/core/nixvim/plugins/default.nix index fe13b79..a33e02a 100644 --- a/home/common/core/nixvim/plugins/default.nix +++ b/home/common/core/nixvim/plugins/default.nix @@ -41,6 +41,17 @@ in { pkgs.vimPlugins.vim-dadbod-completion pkgs.vimPlugins.fugitive + (pkgs.vimUtils.buildVimPlugin + { + name = "glow.nvim"; + src = pkgs.fetchFromGitHub { + owner = "ellisonleao"; + repo = "glow.nvim"; + rev = "238070a"; + sha256 = "sha256-GsNcASzVvY0066kak2nvUY5luzanoBclqcUOsODww8g="; + }; + }) + (pkgs.vimUtils.buildVimPlugin { name = "parrot.nvim"; @@ -116,6 +127,16 @@ in { } ) + require('glow').setup({ + border = "shadow", + style = "dark", + pager = false, + width = 80, + height = 100, + width_ratio = 0.7, + height_ratio = 0.7, + }) + -- Custom color for modified buffers vim.api.nvim_set_hl(0, "BufferManagerModified", { fg = "#988100" }) diff --git a/hosts/common/optional/nixos-containers/baseddata-worker.nix b/hosts/common/optional/nixos-containers/baseddata-worker.nix index f6b2606..5e47f94 100644 --- a/hosts/common/optional/nixos-containers/baseddata-worker.nix +++ b/hosts/common/optional/nixos-containers/baseddata-worker.nix @@ -235,7 +235,7 @@ in { .venv/bin/prefect variable set "osm_history_dir" "/media/baseddata-data/osm-history" --overwrite .venv/bin/prefect variable set "mongo_db_name" "baseddata" --overwrite - .venv/bin/prefect variable set "postgres_dbname" "dev_baseddata_models" --overwrite + .venv/bin/prefect variable set "postgres_dbname" "baseddata" --overwrite .venv/bin/prefect variable set "postgres_schema" "models_final" --overwrite .venv/bin/prefect variable set "unique_key" "row_uuid" --overwrite