refactor: hemar reboot
This commit is contained in:
@@ -1,24 +1,33 @@
|
||||
{
|
||||
{
|
||||
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";
|
||||
}:
|
||||
(import ./dev { inherit self system pkgs; })
|
||||
// {
|
||||
c = import ./c.nix { inherit self system pkgs; };
|
||||
postgres-c = import ./postgres-c.nix { inherit self system pkgs; };
|
||||
pure-c = import ./pure-c.nix { inherit self system pkgs; };
|
||||
rust = import ./rust.nix { inherit self system pkgs; };
|
||||
haskell = import ./haskell.nix { inherit self system pkgs; };
|
||||
default = 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";
|
||||
};
|
||||
}
|
||||
|
||||
7
devshell/dev/default.nix
Normal file
7
devshell/dev/default.nix
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
system,
|
||||
self,
|
||||
pkgs
|
||||
}: {
|
||||
hemar = import ./hemar.nix { inherit self system pkgs; };
|
||||
}
|
||||
5
devshell/dev/hemar.nix
Normal file
5
devshell/dev/hemar.nix
Normal file
@@ -0,0 +1,5 @@
|
||||
{ pkgs, ... }: pkgs.mkShell {
|
||||
buildInputs = (with pkgs; [
|
||||
dash
|
||||
]);
|
||||
}
|
||||
Reference in New Issue
Block a user