aboutsummaryrefslogtreecommitdiff
path: root/home/profiles/k8s.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2025-08-12 08:52:51 -0700
committerFranck Cuny <franck@fcuny.net>2025-08-12 08:52:51 -0700
commit61fa2329f553f9c7962e968e1ec98ae675903b70 (patch)
tree0afdbf7c8fddda1718abee49db6206a5f8df5b09 /home/profiles/k8s.nix
parentdirectories first (diff)
downloadinfra-61fa2329f553f9c7962e968e1ec98ae675903b70.tar.gz
users -> home
Diffstat (limited to 'home/profiles/k8s.nix')
-rw-r--r--home/profiles/k8s.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/home/profiles/k8s.nix b/home/profiles/k8s.nix
new file mode 100644
index 0000000..5eb4cf6
--- /dev/null
+++ b/home/profiles/k8s.nix
@@ -0,0 +1,26 @@
+{ self, pkgs, ... }:
+{
+
+ imports = [
+ "${self}/home/programs/k9s.nix"
+ "${self}/home/programs/kubie.nix"
+ ];
+
+ home.packages = with pkgs; [
+ kind # k8s in docker
+ kubebuilder # generate controller
+ kubectl
+ kubernetes-helm # deploy applications
+ kubelogin-oidc # OIDC plugin
+ ];
+
+ programs.fish = {
+ shellAbbrs = {
+ k = "kubectl";
+ klogs = "kubectl logs";
+ };
+ shellAliases = {
+ ukctx = "${pkgs.gh}/bin/gh api --hostname github.rbx.com repos/Roblox/cell-lifecycle/contents/rks/kubeconfig --jq '.content' | base64 -d > ~/.kube/rksconfig";
+ };
+ };
+}