-
Notifications
You must be signed in to change notification settings - Fork 0
/
packages.nix
executable file
·144 lines (137 loc) · 2.11 KB
/
packages.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
140
141
142
143
144
{
config,
pkgs,
lib,
data,
...
}:
let
p = with pkgs; {
net = [
# anti-censor
[
sing-box
tor
arti
tuic
]
[
rustscan
stun
bandwhich
fscan
iperf3
i2p
ethtool
dnsutils
tcpdump
netcat
dog
wget
socat
miniserve
mtr
wakelan
q
nali
lynx
nethogs
w3m
whois
dig
wireguard-tools
curlHTTP3
xh
ngrep
gping
knot-dns
tcping-go
httping
iftop
]
];
cmd = [
eza
fzf
mcrcon
zola
smartmontools
difftastic
btop
atuin
minio-client
# attic
deno
ntfy-sh
_7zz
yazi
rclone
helix
srm
# onagre
libsixel
ouch
# common
[
killall
hexyl
jq
fx
bottom
lsd
fd
choose
duf
tokei
procs
lsof
tree
bat
]
[
broot
ranger
ripgrep
qrencode
lazygit
b3sum
unzip
zip
coreutils
juicefs
inetutils
pciutils
usbutils
rsync
]
];
# # ripgrep-all
};
in
{
environment.systemPackages = lib.flatten (lib.attrValues p) ++ [
((pkgs.vim_configurable.override { }).customize {
name = "vim";
# Install plugins for example for syntax highlighting of nix files
vimrcConfig.packages.myplugins = with pkgs.vimPlugins; {
start = [
vim-nix
vim-lastplace
];
opt = [ ];
};
vimrcConfig.customRC = ''
" your custom vimrc
set nocompatible
set backspace=indent,eol,start
" Turn on syntax highlighting by default
syntax on
:let mapleader = " "
:map <leader>s :w<cr>
:map <leader>q :q<cr>
:map <C-j> 5j
:map <C-k> 5k
'';
})
];
}