Do not install kubernetes clients on neelix.
This commit is contained in:
parent
e3fee206a1
commit
d8e16f0b05
@ -40,5 +40,7 @@
|
||||
me.git.config = ./roles/git/files/gitconfig_home;
|
||||
me.graphical = true;
|
||||
me.graphics_card_type = "amd";
|
||||
me.kanshi.enable = true;
|
||||
me.kubernetes.enable = true;
|
||||
me.sway.enable = true;
|
||||
}
|
||||
|
@ -32,6 +32,18 @@ in
|
||||
{
|
||||
imports = [ ];
|
||||
|
||||
options.me = {
|
||||
kubernetes.enable = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
example = true;
|
||||
description = "Whether we want to install kubernetes.";
|
||||
};
|
||||
};
|
||||
|
||||
config = lib.mkIf config.me.kubernetes.enable (
|
||||
lib.mkMerge [
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
kubectl
|
||||
kubeswitch
|
||||
@ -58,5 +70,7 @@ in
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
]
|
||||
);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user