blob: 515cbd93f63880f24a800bc14f2b37bae15344e8 (
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
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
|
{ config, inputs, outputs, pkgs, ... }: {
imports = [
./locale.nix
./nix.nix
./shells.nix
./zsh.nix
];
documentation.dev.enable = true;
documentation.man.enable = true;
# generate a handy list of all currently installed packages with versions at /etc/current-system-packages
environment.etc."current-system-packages".text =
let
packages = builtins.map (p: "${p.name}") config.environment.systemPackages;
sortedUnique = builtins.sort builtins.lessThan (pkgs.lib.lists.unique packages);
formatted = builtins.concatStringsSep "\n" sortedUnique;
in
formatted;
environment.systemPackages = with pkgs; [
acl
age
bash
bc
bind
binutils
bzip2
colordiff
conntrack-tools
coreutils
cpio
curl
diffutils
dig
dmidecode
ethtool
file
findutils
fping
git
gnugrep
gnupatch
gnused
gnutar
gptfdisk
gzip
iproute2
iputils
jq
less
lshw
lsof
lvm2
moreutils
nano
netcat-openbsd
nettools
nix-index
nmap
ntfs3g
nvd
oath-toolkit
openldap
openssl
parted
patchelf
pciutils
procps
psmisc
pv
pwgen
qemu_kvm
recode
rsync
sg3_utils
socat
sops
sqlite
ssh-to-age
ssh-to-pgp
stoken
strace
sysstat
tcpdump
traceroute
tree
tshark
unixtools.xxd
unrar
unzip
usbutils
util-linux
vim
wdiff
wget
whois
wireguard-tools
xz
zip
zstd
];
hardware.enableRedistributableFirmware = true;
programs.atop.enable = true;
programs.gnupg.agent.enable = true;
programs.iftop.enable = true;
programs.mtr.enable = true;
programs.tmux.enable = true;
programs.zsh.enable = true;
}
|