-
Notifications
You must be signed in to change notification settings - Fork 0
/
home.nix
137 lines (127 loc) · 2.64 KB
/
home.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
{ config, pkgs, ... }:
{
programs.home-manager.enable = true;
home.packages = with pkgs; [
wezterm
fira-code
discocss
comma
dive
libiconvReal
prometheus-alertmanager
prometheus
zsh-defer
zsh-you-should-use
zsh-fast-syntax-highlighting
zsh-completions
zsh-autosuggestions
terraform-zsh-plugin
grc
zoxide
krew
fzf
stable.bat-extras.batdiff
bat-extras.batgrep
bat-extras.batman
bat-extras.batwatch
bat-extras.prettybat
stable.aws-sam-cli # https://github.com/NixOS/nixpkgs/issues/325990
ssm-session-manager-plugin
dog
eza
fd
gh
go
gopls
hadolint
htop
json2hcl
kubectl
kustomize
kubelogin-oidc
mysql
kubernetes-helm
ripgrep
sad
sqlite
starship
terraform
tmux
yamllint
# php82Packages.phpstan
# php82Packages.phpcbf
# php82Packages.php-cs-fixer
(python3.withPackages (pp: with pp; [
boto3
botocore
cryptography
isort
psutil
pip
pyyaml
flake8
black
]))
argocd
trunk.checkov
ctags
deno
pyright
shellharden
terraform-ls
terraform-lsp
tflint
zlib
google-cloud-sdk
pkg-config
nodePackages.yaml-language-server
npm-check-updates
nodejs
nodePackages.eslint_d
nodePackages.fixjson
rustup
gcc
cmake
argo-rollouts
];
home.sessionVariables = {
EDITOR = "nvim";
MANPAGER = "sh -c 'col -bx | bat -l man -p'";
KUBECTL_EXTERNAL_DIFF = "kdiff";
};
home.sessionPath = ["${config.home.homeDirectory}/.local/bin"];
programs.neovim = {
enable = true;
package = pkgs.neovim-unwrapped;
vimAlias = true;
vimdiffAlias = true;
withPython3 = true;
extraPython3Packages = (ps: with ps; [
msgpack
pyyaml
python-dotenv
requests
prompt-toolkit
]);
extraPackages = [
# pkgs.stable.checkov
pkgs.sqlite
pkgs.tree-sitter
pkgs.nil # I am having trouble compiling this inside Mason
];
plugins = with pkgs.vimPlugins; [
yankring
vim-nix
{ plugin = sqlite-lua; }
];
extraConfig = builtins.concatStringsSep "\n" [
''
luafile ${builtins.toString ~/.config/nvim/init_lua.lua}
''
];
};
xdg.configFile."nvim" = {
source = ./config/nvim;
recursive = true;
};
}