mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
merge kubernetes.nix into devtools.nix
This commit is contained in:
parent
a6dded78f8
commit
e618ba481f
3 changed files with 13 additions and 13 deletions
|
@ -1,7 +1,6 @@
|
|||
{ lib, pkgs, ... }:
|
||||
{
|
||||
imports = [
|
||||
./kubernetes.nix
|
||||
./powerline.nix
|
||||
];
|
||||
|
||||
|
|
|
@ -1,18 +1,6 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
programs.bash.interactiveShellInit = ''
|
||||
source <(kubectl completion bash)
|
||||
complete -F __start_kubectl k
|
||||
'';
|
||||
environment.systemPackages = with pkgs; [
|
||||
kubectl
|
||||
kubernetes-helm
|
||||
stern
|
||||
|
||||
(google-cloud-sdk.withExtraComponents
|
||||
[ google-cloud-sdk.components.gke-gcloud-auth-plugin ])
|
||||
|
||||
# dedicated script, because bash aliases dont work with `watch`
|
||||
(writeShellScriptBin "k" "exec kubectl \"$@\"")
|
||||
];
|
||||
}
|
||||
|
|
|
@ -14,6 +14,8 @@ in
|
|||
errcheck
|
||||
go
|
||||
gopls
|
||||
kubectl
|
||||
kubernetes-helm
|
||||
lua-language-server
|
||||
nil
|
||||
nodePackages.prettier
|
||||
|
@ -23,8 +25,19 @@ in
|
|||
rustc
|
||||
rustc.llvmPackages.lld
|
||||
rustfmt
|
||||
stern
|
||||
vscode-langservers-extracted
|
||||
yaml-language-server
|
||||
|
||||
# dedicated script, because bash aliases dont work with `watch`
|
||||
(writeShellScriptBin "k" "exec kubectl \"$@\"")
|
||||
|
||||
(google-cloud-sdk.withExtraComponents
|
||||
[ google-cloud-sdk.components.gke-gcloud-auth-plugin ])
|
||||
];
|
||||
programs.bash.interactiveShellInit = ''
|
||||
source <(kubectl completion bash)
|
||||
complete -F __start_kubectl k
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue