add kubectl mayastor and openebs plugins
This commit is contained in:
13
flake.nix
13
flake.nix
@@ -4,14 +4,19 @@
|
||||
|
||||
# Only to ease updating flake.lock, flake-compat is used by shell.nix
|
||||
flake-compat.url = https://flakehub.com/f/edolstra/flake-compat/1.1.0.tar.gz;
|
||||
|
||||
# Allows us to install krew plugins
|
||||
krew2nix.url = "github:a1994sc/krew2nix";
|
||||
krew2nix.inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, ... }: let
|
||||
outputs = { self, nixpkgs, krew2nix, ... }: let
|
||||
system = "x86_64-linux";
|
||||
in {
|
||||
devShells."${system}".default =
|
||||
let
|
||||
pkgs = import nixpkgs {
|
||||
overlays = [ krew2nix.overlay ];
|
||||
inherit system;
|
||||
};
|
||||
in
|
||||
@@ -19,7 +24,11 @@
|
||||
packages = with pkgs; [
|
||||
vim gnumake
|
||||
talosctl cilium-cli
|
||||
kubectl kubectx k9s kubernetes-helm
|
||||
kubectx k9s kubernetes-helm
|
||||
(kubectl.withKrewPlugins (plugins: with plugins; [
|
||||
mayastor
|
||||
openebs
|
||||
]))
|
||||
ansible
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user