-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathshell.nix
More file actions
60 lines (50 loc) · 1.16 KB
/
shell.nix
File metadata and controls
60 lines (50 loc) · 1.16 KB
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
56
57
58
59
60
let
nixpkgs = fetchTarball "https://github.com/NixOS/nixpkgs/tarball/nixos-23.11";
pkgs = import nixpkgs { config = { allowUnfree = true; }; overlays = []; };
kubectl = pkgs.kubectl.overrideAttrs (oldAttrs: rec {
version = "1.28.4";
});
terraform = pkgs.terraform.overrideAttrs (oldAttrs: rec {
version = "1.6.4";
});
google-cloud-sdk = pkgs.google-cloud-sdk.overrideAttrs (oldAttrs: rec {
version = "452.0.1";
});
git = pkgs.git.overrideAttrs (oldAttrs: rec {
version = "2.42.0";
});
podman = pkgs.podman.overrideAttrs (oldAttrs: rec {
version = "4.7.2";
});
minikube = pkgs.minikube.overrideAttrs (oldAttrs: rec {
version = "1.31.2";
});
go = pkgs.go.overrideAttrs (oldAttrs: rec {
version = "1.21.5";
});
in
pkgs.mkShell {
packages = with pkgs; [
kubectl
terraform
google-cloud-sdk
git
podman
minikube
nodejs_20
pkgs.go
python310
python310Packages.pip
php83
php83Packages.composer
mysql80
redis
kubernetes-helm
];
shellHook = ''
export NIX_SHELL_DIR=$PWD/.nix-shell
export LC_ALL=C
export LANG=C.utf8
alias docker=podman
'';
}