refactor: pull out flake devshells

This commit is contained in:
2025-07-17 15:48:20 +00:00
parent 33422320a5
commit 3d0fd7a030
7 changed files with 109 additions and 64 deletions

24
devshell/default.nix Normal file
View File

@@ -0,0 +1,24 @@
{
system,
pkgs,
self
}: pkgs.mkShell {
buildInputs =
(with self.packages.${system}; [
nvim-alias
#prettify-log
nvim-pager
])
++ (with pkgs; [
git
jq
yq-go
curl
(writeScriptBin "hemar-check" ''
ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null vm-postgres 'zsh -c check'
'')
]);
# environment
PAGER = "${self.packages.${system}.nvim-pager}/bin/pager";
}