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
|
2024-11-24 00:09:15 +07:00
|
|
|
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
|
2024-09-02 12:07:44 +07:00
|
|
|
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
|
2024-01-06 01:25:55 +07:00
|
|
|
kanidm
|
2023-10-27 16:37:53 +07:00
|
|
|
kube3d
|
|
|
|
kubectl
|
|
|
|
kubernetes-helm
|
|
|
|
kustomize
|
|
|
|
libisoburn
|
|
|
|
neovim
|
|
|
|
openssh
|
2024-11-24 00:09:15 +07:00
|
|
|
opentofu # Drop-in replacement for Terraform
|
2023-10-27 16:37:53 +07:00
|
|
|
p7zip
|
|
|
|
pre-commit
|
2024-11-24 23:32:29 +07:00
|
|
|
qrencode
|
2023-10-27 16:37:53 +07:00
|
|
|
shellcheck
|
2024-11-24 23:32:29 +07:00
|
|
|
wireguard-tools
|
2023-10-27 16:37:53 +07:00
|
|
|
yamllint
|
|
|
|
|
|
|
|
(python3.withPackages (p: with p; [
|
|
|
|
jinja2
|
|
|
|
kubernetes
|
|
|
|
mkdocs-material
|
|
|
|
netaddr
|
2024-01-06 01:25:55 +07:00
|
|
|
pexpect
|
2023-10-27 16:37:53 +07:00
|
|
|
rich
|
|
|
|
]))
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
);
|
|
|
|
}
|