blob: 9aebe2826b495333a103214806e89e7dee1761ae (
plain) (
blame)
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
|
{ pkgs, config, lib, ... }:
let
localPkgs = import ./packages/default.nix { pkgs = pkgs; };
customPackages = with localPkgs; [
sensible-apps
shotkey
# xmonad
dwm
dwmblocks
st
dmenu
anypinentry
# bslock
# sidekick
];
devPackages = with pkgs; [
# Dev
neovim
silver-searcher
ripgrep
ast-grep
ctags
fzf
docker-compose
direnv
# gh
just
# hurl
# delta
# gibo
gcc
gnumake
nodejs_20
bun
# bspwm
# sxhkd
nixd
lua-language-server
efm-langserver
nodePackages.typescript
nodePackages.typescript-language-server
nodePackages.vscode-json-languageserver
nodePackages.vscode-langservers-extracted
nodePackages.prettier
biome
lua5_1
# .withPackages(ps: with ps; [
# luarocks
# lua-curl
# ])
lua51Packages.luarocks
lua51Packages.lua-curl
];
apps = with pkgs; [
# Browser
qutebrowser
# qutebrowser-qt5
brave
# firefox
# ungoogled-chromium
# Comm
slack
# Media
spotify
sxiv
yt-dlp
imagemagick
ffmpeg-full
feh
# obs-studio
inkscape
krita
zathura
blender
j4-dmenu-desktop
# chiaki # PS remote play
remind
dunst
newsboat
# Audio
qjackctl
ardour
a2jmidid
pavucontrol
audacity
# guitarix
# easyeffects
# TUI stuff
lf
bottom
tremc
wyrd
dua
];
utils = with pkgs; [
libnotify
xcwd
unzip
curl
jq
wget
killall
pciutils
file
at
bc
bat
catimg
fd
# sad
mediainfo
poppler_utils
glow
# figlet
wineWowPackages.stable
pkgs.steam-run
flatpak
distrobox
# appimage-run
# Audio
alsa-utils
# X stuff
picom
brightnessctl
xorg.xinit
xorg.xrandr
xorg.xmodmap
xorg.xkill
xorg.xhost
xclip
xdo
xdotool
wmctrl
arandr
xorg.xgamma
v4l-utils
libva
libdrm
virt-manager
virt-viewer
spice
spice-gtk
spice-protocol
win-virtio
win-spice
gnome.adwaita-icon-theme
];
in
{
# Packages
environment.systemPackages = devPackages ++ customPackages ++ apps ++ utils;
nixpkgs.config.permittedInsecurePackages = [
"ffmpeg-3.4.8"
"qtwebkit-5.212.0-alpha4"
];
# environment.variables = {
# CURL_DIR = lib.makeLibraryPath [pkgs.curl];
# };
programs.adb.enable = true;
programs.steam.enable = true;
hardware.steam-hardware.enable = true;
programs.gamemode.enable = true;
programs.alvr = {
enable = false;
openFirewall = false;
};
# Security wrappers
# security.wrappers = {
# bslock = {
# owner = config.users.users.imsohexy.name;
# group = "users";
# source = "${localPkgs.bslock}/bin/bslock";
# };
# };
}
|