test
This commit is contained in:
parent
3792d15fd0
commit
134c4480b6
9 changed files with 395 additions and 317 deletions
modules
31
modules/kubernetes.nix
Normal file
31
modules/kubernetes.nix
Normal file
|
@ -0,0 +1,31 @@
|
|||
{ pkgs, config, lib, ... }:
|
||||
let
|
||||
cfg = config.jiriks74.zsh;
|
||||
in {
|
||||
meta.maintainers = with lib.maintainers; [ jiriks74 ];
|
||||
|
||||
options.jirks74.zsh.kubernetes = lib.mkEnableOption "Install Kubernetes packages including those for local development";
|
||||
|
||||
config = lib.mkIf cfg.kubernetes {
|
||||
services.podman.enable = true;
|
||||
|
||||
home.file.minikube = {
|
||||
enable = true;
|
||||
target = ".minikube/config/config.json";
|
||||
text = ''
|
||||
{
|
||||
"container-runtime": "containerd",
|
||||
"driver": "podman",
|
||||
"rootless": true
|
||||
}
|
||||
'';
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
minikube
|
||||
kubectl
|
||||
kubectx
|
||||
k9s
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue