-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevshell.nix
More file actions
42 lines (41 loc) · 856 Bytes
/
devshell.nix
File metadata and controls
42 lines (41 loc) · 856 Bytes
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
{ pkgs, perSystem, inputs }:
let
devshell = pkgs.callPackage inputs.devshell { inherit inputs; };
foundry = pkgs.callPackage "${inputs.foundry}/foundry-bin" {};
unstable = perSystem.nixpkgs_unstable;
in
devshell.mkShell {
packages = [
pkgs.nixos-anywhere
pkgs.opentofu
pkgs.terragrunt
pkgs.ssh-to-age
pkgs.sops
pkgs.gnumake
pkgs.k3s
pkgs.k9s
pkgs.python3
pkgs.nodejs_20
pkgs.kubernetes-helm
pkgs.kn
pkgs.apacheHttpd
pkgs.go_1_23
pkgs.gcc
pkgs.checkov
foundry
];
commands = [
{
name = "tg";
category = "ops";
help = "terragrunt alias";
command = ''${unstable.terragrunt}/bin/terragrunt "$@"'';
}
{
name = "tf";
category = "ops";
help = "opentofu alias";
command = ''${unstable.opentofu}/bin/tofu "$@"'';
}
];
}