refactor: major structural changes
git updates update tmux conf add ansible tools squash me squash fix: get git aliases from plugin virt stuff add devenv some virt updates kubernetes
This commit is contained in:
parent
2e8c1eec90
commit
2220c4e917
87 changed files with 1963 additions and 2261 deletions
18
common/virtualization/kubernetes.nix
Normal file
18
common/virtualization/kubernetes.nix
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
user,
|
||||
...
|
||||
}: {
|
||||
environment.systemPackages = with pkgs; [
|
||||
argocd # Declarative, GitOps continuous delivery tool for Kubernetes.
|
||||
k3d # Lightweight utility to run Kubernetes clusters using Docker.
|
||||
k9s # Kubernetes CLI to visually navigate and manage resources in clusters.
|
||||
kind # Kubernetes IN Docker: Tool for running local Kubernetes clusters using Docker container nodes.
|
||||
kubectl # Kubernetes command-line tool for interacting with clusters.
|
||||
kubectx # Switch between Kubernetes contexts and namespaces with ease.
|
||||
kubernetes-helm # Package manager for Kubernetes applications, simplifying deployment and management.
|
||||
minikube # Local Kubernetes cluster for easy testing and development.
|
||||
stern # Multi-container log tailing and streaming for Kubernetes.
|
||||
];
|
||||
}
|
||||
11
common/virtualization/libvirt.nix
Normal file
11
common/virtualization/libvirt.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
user,
|
||||
...
|
||||
}: {
|
||||
boot.kernelModules = ["kvm-amd"];
|
||||
environment.systemPackages = with pkgs; [virt-manager];
|
||||
virtualisation.libvirtd.enable = true;
|
||||
users.extraGroups.libvirtd.members = ["${user}"];
|
||||
}
|
||||
21
common/virtualization/podman.nix
Normal file
21
common/virtualization/podman.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{pkgs, ...}: {
|
||||
virtualisation = {
|
||||
podman = {
|
||||
enable = true;
|
||||
|
||||
# Create a `docker` alias for podman, to use it as a drop-in replacement
|
||||
dockerCompat = true;
|
||||
|
||||
# Required for containers under podman-compose to be able to talk to each other.
|
||||
defaultNetwork.settings.dns_enabled = true;
|
||||
};
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
buildah # Tool for building OCI (Open Container Initiative) and Docker container images.
|
||||
distrobox # Lightweight utility for running Linux distributions in containers.
|
||||
dive # A tool for exploring a Docker image, allowing inspection of layer contents.
|
||||
grype # A vulnerability scanner for container images and filesystems.
|
||||
podman-compose # Podman plugin for managing multi-container applications.
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue