64 lines
1.4 KiB
Text
64 lines
1.4 KiB
Text
/etc/doas.conf:
|
|
permit nopass keepenv :wheel
|
|
|
|
$ usermod -aG audio <username>
|
|
$ mkdir -p /etc/alsa/conf.d
|
|
$ ln -s /usr/share/alsa.conf.d/50-pipewire.conf .
|
|
$ ln -s /usr/share/alsa.conf.d/99-pipewire-default.conf
|
|
=> now relogin
|
|
|
|
/etc/tlp.conf:
|
|
# Battery charge level below which charging will begin.
|
|
START_CHARGE_THRESH_BAT0=75
|
|
# Battery charge level above which charging will stop.
|
|
STOP_CHARGE_THRESH_BAT0=80
|
|
|
|
KNOWLEDGE
|
|
---------
|
|
|
|
* recommended packages
|
|
--------------------
|
|
|
|
- tlp for power management
|
|
- nsxiv for image viewing
|
|
- links for quick html rendering
|
|
- zathura and zathura-pdf-mupdf as pdf viewer
|
|
- pcmanfm as a file manager
|
|
|
|
* autologin voidlinux tty1 to x11
|
|
-------------------------------
|
|
$ cp /etc/sv
|
|
$ cp -r agetty-tty1 agetty-autologin-tty1
|
|
(naming is important)
|
|
|
|
/etc/sv/agetty-autologin-tty1/conf:
|
|
GETTY_ARGS="--autologin <username> --noclear"
|
|
BAUD_RATE=38400
|
|
TERM_NAME=linux
|
|
|
|
now enable the agetty-autologin-tty1 service and disable
|
|
the agetty-tty1 service.
|
|
|
|
* no beep
|
|
-------
|
|
|
|
/etc/modprobe.d/no-beep.conf:
|
|
blacklist pcspkr
|
|
$ rmmod pcspkr
|
|
|
|
* static ip
|
|
---------
|
|
|
|
/etc/rc.local:
|
|
ip link set dev wlan0 up
|
|
ip addr add 192.168.178.128/24 dev wlan0
|
|
ip route add default via 192.168.178.1
|
|
|
|
TODO
|
|
----
|
|
|
|
* pass/otp setup
|
|
* backups
|
|
* some MUA, mblaze?
|
|
* rnnoise/noise-suppression
|
|
* platinum9/nineicons for icons
|