-
Notifications
You must be signed in to change notification settings - Fork 4
/
packages.nix
203 lines (177 loc) · 3.01 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
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
{ config, pkgs, ... }:
{
nixpkgs.config.allowUnfree = true;
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [
# gui
(vivaldi.override { proprietaryCodecs = true; })
vivaldi-ffmpeg-codecs
brave
keepassxc
sioyek
pavucontrol
mpv
mcomix
geogebra
feh
chatterino2
# terminal
kitty
tmux
qbittorrent-nox
# tui
vim
neovim
ranger
htop
newsboat
(ncmpcpp.override { visualizerSupport = true; })
ncdu
# libraries
poppler
ntfs3g
linuxHeaders
linux-firmware
fakeroot
alsa-utils
alsa-firmware
# network
nettools
nmap
sshfs
netcat-gnu
wireguard-tools
openssh
dig
# terminal utilities
streamlink
wget
unzip
time
socat
rsync
ripgrep
fzf
neofetch
mpc-cli
mlocate
inotify-tools
groff
ffmpegthumbnailer
jellyfin-ffmpeg
fd
dialog
bat
which
p7zip
atool
unrar
odt2txt
xlsx2csv
jq
mediainfo
imagemagick
python311Packages.fontforge
neovim-remote
libnotify
woeusb
flatpak
flatpak-builder
yt-dlp
time
# system utilities
efibootmgr
os-prober
light
wev
xorg.xev
xorg.xrandr
ydotool
upower
pulseaudio
nixos-option
evtest
# wayland utilities
mako
swaylock
slurp
grim
swww
wl-clipboard
cliphist
eww-wayland
hyprpicker
wlr-randr
dmenu-wayland
# fonts
font-awesome
nerdfonts
ipafont
paratype-pt-sans
liberation_ttf
# !!!!!!!!!!!!!!! #
# dev environment #
# !!!!!!!!!!!!!!! #
# c
valgrind
gcc
gnumake
cmake
bear
ccls
cgdb
astyle
# rust
rustc
cargo
rust-analyzer
# lua
luajitPackages.luarocks-nix
# haskell
# haskellPackages.ghcup
# perl
perl
# python
# python39
# python311Packages.pip
# awk
mawk
# java
jre8
# javascript
nodejs_20
# latex
texlive.combined.scheme-small
biber
bison
# go
go
# json
# agnostic
git
gnupatch
ctags
tree-sitter
];
programs.steam = {
enable = true;
remotePlay.openFirewall = true;
dedicatedServer.openFirewall = true;
};
services.flatpak.enable = true;
system.activationScripts.installFlatpaks = {
text = ''
apps="de.shorsh.discord-screenaudio
org.nicotine_plus.Nicotine"
${pkgs.flatpak}/bin/flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
installed=$(${pkgs.flatpak}/bin/flatpak list | ${pkgs.gawk}/bin/awk '{print $2}')
echo "$apps" | while read -r line; do
if ! echo "$installed" | ${pkgs.gnugrep}/bin/grep -q "$line"; then
${pkgs.flatpak}/bin/flatpak install -y flathub "$line"
fi
done
${pkgs.flatpak}/bin/flatpak update -y
'';
};
}