blob: ef896a36a77e2ad511c8331c2f938ceff3b32534 (
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
|
#!/bin/sh
set -e
if [ "$(id -u)" -ne 0 ] ; then
echo "Run as root"
exit 1;
fi
# Todo add in sipcalc, it's in the AUR now...
pkgs="
alsa-utils
ansible
arandr
base
base-devel
bind
bluez
bluez-tools
bluez-utils
btrfs-progs
buildah
chromium
cmake
colordiff
ctags
dosfstools
dunst
ed
efibootmgr
ethtool
evince
evolution
exfat-utils
feh
firefox
fuse
fuzzel
gdb
gdisk
gimp
git
git-lfs
hdparm
htop
inkscape
iotop
iperf3
kdenlive
libconfig # dmenu-pinentry
libfido2
libvirt # If you want
libxcb
libxkbcommon
lightdm
lightdm-gtk-greeter
linux
linux-firmware
linux-zen
lvm2
lxappearance
man-pages
mandoc
minisign
mpd
multipath-tools # kpartx
ncdu
ncmpc
ncspot
neovim
net-tools
networkmanager
nload
nm-connection-editor
noto-fonts-emoji
nsd # for drill a dig replacement
ntfs-3g
openbsd-netcat
openssh
oxygen
oxygen-icons
oxygen-icons-svg
pass
pass-otp
pavucontrol
picard # musicbrainz
picom
pixz
podman
pulseaudio
pulseaudio-bluetooth
pv
pwgen
python-pip
python-pyscard # for pip3 install --user ykman
qemu
qt5ct # https://wiki.archlinux.org/title/qt#Appearance
rclone
redshift
rsync
scrot
seahorse
shellcheck
shellcheck
smartmontools
speedtest-cli
swig # ykman
tmux
usbutils
v4l2loopback-dkms
vim
virt-manager
vlc
wayland-protocols
whois
wireguard-tools
wireless_tools
wl-clipboard
wlroots0.17
wlroots0.18
wlroots0.19
xclip
xdotool
xfce4
xfce4-goodies
xfsprogs
xorg-apps
xorg-server
xorg-xwayland
xournalpp
zathura
zathura-djvu
zathura-pdf-mupdf
zathura-ps
zstd
"
#shellcheck disable=SC2046
pacman -S --needed $(echo "$pkgs" | awk '{print $1}' | tr '\n' ' ')
grep -q '^KillUserProcesses=yes' /etc/systemd/logind.conf || \
echo "You may want to set KillUserProcesses=yes in /etc/systemd/logind.conf"
grep -q '^HandleLidSwitch=ignore' /etc/systemd/logind.conf || \
echo "You may want to set HandleLidSwitch=ignore in /etc/systemd/logind.conf"
cat > /etc/udev/rules.d/99-removable.rules <<EOF
# /etc/udev/rules.d/99-removable.rules
ACTION=="add", SUBSYSTEM=="thunderbolt", ATTR{authorized}=="0", ATTR{authorized}="1"
EOF
cat > /etc/modprobe.d/v4l2loopback.conf <<EOF
options v4l2loopback video_nr=10,11,12 card_label="OBS Virtual Camera,Extra Loopback 1,Extra Loopback 2"
EOF
cat > /etc/modules-load.d/v4l2loopback.conf <<EOF
v4l2loopback
EOF
case $(lspci | grep VGA) in
*Intel*)
# OpenCL Drivers
pacman -S --needed intel-compute-runtime
;;
*AMD*)
;;
*Nvidia*)
;;
*)
echo "No GPU detected"
esac
|