blob: e90c88e7611978eb91c2a7bbe6304461a6ab51b3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
{
config,
lib,
pkgs,
...
}:
with lib; let
cfg = config.nixfiles.modules.profiles.dev.containers;
in {
options.nixfiles.modules.profiles.dev.containers.enable =
mkEnableOption "Tools for working with containers and container orchestration"
// {
default = config.nixfiles.modules.profiles.dev.enable;
};
config = mkIf cfg.enable {
nixfiles.modules.common.shell.aliases = {
h = "helm";
k = "kubectl";
kns = "kubens";
ktx = "kubectx";
};
hm.home = {
sessionVariables = {
MINIKUBE_IN_STYLE = "false";
WERF_DEV = "true";
WERF_INSECURE_REGISTRY = "true";
WERF_LOG_DEBUG = "true";
WERF_LOG_PRETTY = "false";
WERF_LOG_VERBOSE = "true";
WERF_SYNCHRONIZATION = ":local";
WERF_TELEMETRY = "false";
};
packages = with pkgs; [
k9s
kubectl
kubectl-doctor
kubectl-images
kubectl-tree
kubectx
kubelogin-oidc
kubent
kubernetes-helm
kubespy
minikube
skopeo
stern
telepresence2
werf
];
};
};
}
|