/
config.nix
139 lines (139 loc) · 3.28 KB
/
config.nix
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
# Ref: https://nixos.org/manual/nixpkgs/stable/#sec-getting-documentation
{
allowUnfree = true;
qtWrapperArgs = [ ''--set QT_XCB_GL_INTEGRATION none'' ];
xdg.enable=true;
xdg.mime.enable=true;
targets.genericLinux.enable=true;
packageOverrides = pkgs: with pkgs; {
myPackages = pkgs.buildEnv {
name = "my-packages";
paths = [
nox
#zsh
unzip
# Git
git
gitsign
git-extras
# ggshield
graphite-cli
eget
# git diff pager
delta
# Shell
direnv
shellcheck
curl
pre-commit
hub
kube3d
unixtools.netstat
distrobox
dig
jq
yq-go
silver-searcher
eksctl
aria
tree
curlie
atuin
caddy
# neovim
nodePackages_latest.bash-language-server
nodePackages_latest.yaml-language-server
# kitty
tmux
rofi
# nixUnstable
fzf
ripgrep
bat
starship
gnumake
gcc
k9s
stern
# Kubernetes
kubernetes-helm
helm-ls
kubectl
kubectx
kubectl-node-shell
kubeconform
krew
cilium-cli
hubble
# pluto detect-all-in-cluster -o wide --target-versions k8s=v1.24.0 --only-show-removed | tee -a removedapis.txt
pluto
nova
# kubernetes packet sniffer
kubeshark
cosign
jsonnet
vcluster # Create virtual clusters
# Cloud
scaleway-cli
awscli2
aws-iam-authenticator
(
google-cloud-sdk.withExtraComponents [
google-cloud-sdk.components.gke-gcloud-auth-plugin
]
)
ssm-session-manager-plugin
azure-cli
xclip
# Encryption tool
# Ref: https://github.com/FiloSottile/age
age
# Ref: https://github.com/mozilla/sops#encrypting-using-age
sops
# Security
trivy
tfsec
# IAC
terraform
opentofu
terragrunt
# terraform-docs markdown --output Readme.md ./components/iam
terraform-docs
packer
## Go
go_1_22
go-swag
## Node
nodejs
nodePackages.npm
nodePackages.prettier
nodePackages.localtunnel
## Python
black
## SSL
mkcert
# step-cli
#CICD
fluxcd
argocd
# Password
gopass
# Blog
hugo
ngrok
# UI apps
# Ref: https://github.com/NixOS/nixpkgs/issues/82959#issuecomment-657306112
# zoom-us
# megasync
# utils
croc
];
# Ref: https://nixos.org/manual/nixpkgs/stable/#sec-getting-documentation
# pathsToLink tells Nixpkgs to only link the paths listed which gets rid of the extra stuff in the profile.
# /bin and /share are good defaults for a user environment, getting rid of the clutter.
# If you are running on Nix on MacOS, you may want to add another path as well, /Applications, that makes GUI apps available.
pathsToLink = [ "/share" "/share" "/bin" ];
extraOutputsToInstall = [ "man" "doc" ];
};
};
}