mirror of
https://github.com/khuedoan/homelab.git
synced 2024-12-22 21:24:52 +07:00
adbaf32aa5
- Nix is more reproducible (pinned to a specific hash) - Faster rebuild after changing the package list (due to /nix caching in volume) - Users can still use make tools (wrapped in Docker) without installing Nix - Using nix-shell will work if you have nix installed.
41 lines
667 B
Nix
41 lines
667 B
Nix
# https://status.nixos.org
|
|
{ pkgs ? import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/f034b5693a26625f56068af983ed7727a60b5f8b.tar.gz") {} }:
|
|
|
|
let
|
|
python-packages = pkgs.python3.withPackages (p: with p; [
|
|
jinja2
|
|
kubernetes
|
|
netaddr
|
|
rich
|
|
]);
|
|
in
|
|
pkgs.mkShell {
|
|
buildInputs = with pkgs; [
|
|
ansible
|
|
ansible-lint
|
|
bmake
|
|
diffutils
|
|
docker
|
|
docker-compose_1 # TODO upgrade to version 2
|
|
git
|
|
go
|
|
grc
|
|
iproute2
|
|
k9s
|
|
kube3d
|
|
kubectl
|
|
kubernetes-helm
|
|
kustomize
|
|
libisoburn
|
|
neovim
|
|
openssh
|
|
p7zip
|
|
pre-commit
|
|
shellcheck
|
|
terraform
|
|
yamllint
|
|
|
|
python-packages
|
|
];
|
|
}
|