khuedoan-homelab/flake.nix
Khue Doan de1f7176dd refactor(wireguard): use raw static config
I want to set up a mesh with multiple sites, so I need static peer
configurations instead of those generated by the WireGuard container.
2024-11-25 01:26:13 +07:00

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
]))
];
};
}
);
}