mirror of
https://github.com/khuedoan/homelab.git
synced 2024-12-22 09:54:33 +07:00
de1f7176dd
I want to set up a mesh with multiple sites, so I need static peer configurations instead of those generated by the WireGuard container.
60 lines
1.2 KiB
Nix
60 lines
1.2 KiB
Nix
{
|
|
description = "Homelab";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
|
|
flake-utils.url = "github:numtide/flake-utils";
|
|
};
|
|
|
|
outputs = { self, nixpkgs, flake-utils }:
|
|
flake-utils.lib.eachDefaultSystem (system:
|
|
let
|
|
pkgs = import nixpkgs { inherit system; };
|
|
in
|
|
with pkgs;
|
|
{
|
|
devShells.default = mkShell {
|
|
packages = [
|
|
ansible
|
|
ansible-lint
|
|
bmake
|
|
diffutils
|
|
docker
|
|
docker-compose
|
|
dyff
|
|
git
|
|
go
|
|
gotestsum
|
|
iproute2
|
|
jq
|
|
k9s
|
|
kanidm
|
|
kube3d
|
|
kubectl
|
|
kubernetes-helm
|
|
kustomize
|
|
libisoburn
|
|
neovim
|
|
openssh
|
|
opentofu # Drop-in replacement for Terraform
|
|
p7zip
|
|
pre-commit
|
|
qrencode
|
|
shellcheck
|
|
wireguard-tools
|
|
yamllint
|
|
|
|
(python3.withPackages (p: with p; [
|
|
jinja2
|
|
kubernetes
|
|
mkdocs-material
|
|
netaddr
|
|
pexpect
|
|
rich
|
|
]))
|
|
];
|
|
};
|
|
}
|
|
);
|
|
}
|