aboutsummaryrefslogtreecommitdiff
path: root/home/profiles/k8s.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2025-12-30 10:33:31 -0800
committerFranck Cuny <franck@fcuny.net>2025-12-30 11:33:46 -0800
commit7281f05669e92e3568f837591912350b32951555 (patch)
tree61964e392409ab188599af47e58d9a9154ab33ce /home/profiles/k8s.nix
parentinstall mkv related tools (diff)
downloadinfra-7281f05669e92e3568f837591912350b32951555.tar.gz
organize programs in a way that makes sense to me
Diffstat (limited to 'home/profiles/k8s.nix')
-rw-r--r--home/profiles/k8s.nix43
1 files changed, 0 insertions, 43 deletions
diff --git a/home/profiles/k8s.nix b/home/profiles/k8s.nix
deleted file mode 100644
index 1e6cd41..0000000
--- a/home/profiles/k8s.nix
+++ /dev/null
@@ -1,43 +0,0 @@
-{ pkgs, ... }:
-{
- home.packages = with pkgs; [
- kind # k8s in docker
- kubebuilder # generate controller
- kubectl
- kubie # kubeconfig browser https://github.com/sbstp/kubie
- kubernetes-helm # deploy applications
- kubelogin-oidc # OIDC plugin
- ];
-
- programs.k9s = {
- enable = true;
- settings = {
- k9s = {
- refreshRate = 1;
- };
- };
- };
-
- home.file.kubie = {
- target = ".kube/kubie.yaml";
- text = ''
- shell: fish
- configs:
- include:
- - ~/.kube/rksconfig
- prompt:
- fish_use_rprompt: false
- '';
- };
-
- programs.fish = {
- shellAbbrs = {
- k = "kubectl";
- kctx = "kubie ctx";
- 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";
- };
- };
-}