6266c5d32f
Rename my //users directory and all places that refer to glittershark to grfn, including nix references and documentation. This may require some extra attention inside of gerrit's database after it lands to allow me to actually push things. Change-Id: I4728b7ec2c60024392c1c1fa6e0d4a59b3e266fa Reviewed-on: https://cl.tvl.fyi/c/depot/+/2933 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in> Reviewed-by: lukegb <lukegb@tvl.fyi> Reviewed-by: glittershark <grfn@gws.fyi>
34 lines
825 B
Nix
34 lines
825 B
Nix
{ config, lib, pkgs, ... }:
|
|
{
|
|
home.packages = with pkgs; [
|
|
kubectl
|
|
kubetail
|
|
sops
|
|
kubie
|
|
# pkgs-unstable.argocd # provided by urbos
|
|
];
|
|
|
|
programs.zsh.shellAliases = {
|
|
"kc" = "kubectl";
|
|
"kg" = "kc get";
|
|
"kga" = "kc get --all-namespaces";
|
|
"kpd" = "kubectl get pods";
|
|
"kpa" = "kubectl get pods --all-namespaces";
|
|
"klf" = "kubectl logs -f";
|
|
"kdep" = "kubectl get deployments";
|
|
"ked" = "kubectl edit deployment";
|
|
"kpw" = "kubectl get pods -w";
|
|
"kew" = "kubectl get events -w";
|
|
"kdel" = "kubectl delete";
|
|
"knw" = "kubectl get nodes -w";
|
|
"kev" = "kubectl get events --sort-by='.metadata.creationTimestamp'";
|
|
|
|
"arsy" = "argocd app sync --prune";
|
|
};
|
|
|
|
home.file.".kube/kubie.yaml".text = ''
|
|
shell: zsh
|
|
prompt:
|
|
zsh_use_rps1: true
|
|
'';
|
|
}
|