khuedoan-homelab/flake.nix

60 lines
1.2 KiB
Nix
Raw Normal View History

2023-10-27 16:37:53 +07:00
{
description = "Homelab";
inputs = {
2024-09-02 11:23:41 +07:00
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
2023-10-27 16:37:53 +07:00
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { inherit system; };
2023-10-27 16:37:53 +07:00
in
with pkgs;
{
devShells.default = mkShell {
packages = [
ansible
ansible-lint
bmake
diffutils
docker
docker-compose
2024-01-08 21:10:25 +07:00
dyff
2023-10-27 16:37:53 +07:00
git
go
gotestsum
iproute2
jq
k9s
kanidm
2023-10-27 16:37:53 +07:00
kube3d
kubectl
kubernetes-helm
kustomize
libisoburn
neovim
openssh
opentofu # Drop-in replacement for Terraform
2023-10-27 16:37:53 +07:00
p7zip
pre-commit
qrencode
2023-10-27 16:37:53 +07:00
shellcheck
wireguard-tools
2023-10-27 16:37:53 +07:00
yamllint
(python3.withPackages (p: with p; [
jinja2
kubernetes
mkdocs-material
netaddr
pexpect
2023-10-27 16:37:53 +07:00
rich
]))
];
};
}
);
}