Skip to content

Commit 1acc421

Browse files
committed
refactor: modularize kubernetes and container tools
Extract all kubernetes and container management tools from core user packages into optional module for selective deployment: - Add kubectl-ktop for enhanced cluster monitoring - Include container tools: docker-client, dive, crane - Add platform-specific: talosctl, cilium-cli, fluxcd, openshift - Enable selective installation on systems needing k8s functionality
1 parent aeee473 commit 1acc421

File tree

2 files changed

+45
-24
lines changed

2 files changed

+45
-24
lines changed
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{ pkgs, ... }:
2+
3+
{
4+
# Kubernetes and container management tools
5+
# Use case: Cloud-native development and operations
6+
7+
home.packages = with pkgs; [
8+
# Core Kubernetes tools
9+
unstable.kubectl
10+
unstable.kubectl-ktop
11+
unstable.kubectx
12+
unstable.kubelogin
13+
unstable.kubelogin-oidc
14+
unstable.krew
15+
unstable.kustomize
16+
unstable.kubernetes-helm
17+
18+
# Development and testing
19+
unstable.kind
20+
unstable.k9s
21+
unstable.stern
22+
unstable.k6
23+
24+
# Security and compliance
25+
unstable.kube-linter
26+
unstable.kubeconform
27+
unstable.sonobuoy
28+
29+
# Container tools
30+
unstable.dive
31+
unstable.crane
32+
unstable.docker-client
33+
34+
# Infrastructure as Code
35+
unstable.opentofu
36+
37+
# Platform-specific tools
38+
unstable.openshift
39+
unstable.kubeone
40+
unstable.talosctl
41+
unstable.cilium-cli
42+
unstable.fluxcd
43+
];
44+
}

users/refnode/default.nix

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
imports = [
33
./common/core
44
./common/optional/desktop/darwin.nix
5+
./common/optional/kubernetes.nix
56
];
67

78
# specify my home-manager configs
@@ -86,8 +87,6 @@
8687
unstable.plantuml-c4
8788
unstable.ffmpeg_7
8889
unstable.msmtp
89-
unstable.docker-client
90-
unstable.fluxcd
9190
unstable.go
9291
unstable.gopls
9392
unstable.goreleaser
@@ -96,33 +95,11 @@
9695
unstable.platformio
9796
# encryption
9897
unstable.sops
99-
# kubernetes tools
100-
unstable.kubectl
101-
unstable.kubectx
102-
unstable.kubelogin
103-
unstable.kubelogin-oidc
104-
unstable.krew
105-
unstable.kustomize
106-
unstable.kubernetes-helm
107-
unstable.kube-linter
108-
unstable.kubeconform
109-
unstable.kind
110-
unstable.k9s
111-
unstable.stern
112-
unstable.k6
113-
unstable.openshift
114-
unstable.dive
115-
unstable.crane
116-
unstable.sonobuoy
117-
unstable.opentofu
118-
unstable.kubeone
11998
##
12099
unstable.sqlite
121100
unstable.mob
122101
pkgs.garden
123102
unstable.rustup
124-
unstable.talosctl
125-
unstable.cilium-cli
126103
unstable.jujutsu
127104
unstable.minio-client
128105
unstable.kanata

0 commit comments

Comments
 (0)