feat: move kubectl to home manager and add alias
Signed-off-by: Lander Van den Bulcke <landervandenbulcke@gmail.com>
This commit is contained in:
parent
2d98455fdd
commit
6a0be481e1
3 changed files with 14 additions and 2 deletions
|
|
@ -5,6 +5,7 @@
|
|||
./ghostty.nix
|
||||
./go.nix
|
||||
./irssi.nix
|
||||
./k8s.nix
|
||||
#./mail.nix
|
||||
];
|
||||
}
|
||||
|
|
|
|||
13
home/lander/features/workstation/k8s.nix
Normal file
13
home/lander/features/workstation/k8s.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
kubectl
|
||||
kubectx
|
||||
];
|
||||
|
||||
programs.zsh.shellAliases = {
|
||||
k = "kubectl";
|
||||
kc = "kubectx";
|
||||
kn = "kubens";
|
||||
};
|
||||
}
|
||||
|
|
@ -32,8 +32,6 @@
|
|||
environment.systemPackages = with pkgs; [
|
||||
vim
|
||||
wget
|
||||
kubectl
|
||||
kubectx
|
||||
];
|
||||
|
||||
nix.settings.experimental-features = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue