blob: d42cade02a3002f4ff3fd518ea5f81c2c8453808 (
plain)
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
|
{
config,
lib,
pkgs,
...
}: let
inherit (lib) optionals;
isNative = config.nixpkgs.hostPlatform == config.nixpkgs.buildPlatform;
in {
nixpkgs = {
config.allowUnfree = true;
flake = {
setNixPath = false;
setFlakeRegistry = false;
};
};
environment.systemPackages = with pkgs;
[
git # We need git for this repository to even work
# Administration tools
coreutils
binutils
psmisc
progress
lshw
file
vde2
ldns
wget
gnumake
exfat
exfatprogs
ntfs3g
usbutils
pciutils
smartmontools
parted
# NCurses tools
htop
btop
iotop
mc
screen
tmux
pv
# ls tools
tree
lsof
strace
sourceHighlight # Colors for less
unrar
p7zip
zip
unzip
# Network
netcat
traceroute
iftop
nethogs
sshfs
wakeonlan
speedtest-cli
librespeed-cli
#termshark
w3m
lm_sensors
]
++ optionals (system == "x86_64-linux") [
nmap
ltrace
]
++ optionals (!isNative) [
ncdu_1
]
++ optionals isNative [
ncdu
moreutils
];
}
|