dots/README
2026-01-31 13:26:11 +01:00

89 lines
1.9 KiB
Text

SETUP
-----
do it in the order: BASICS, (if using laptop) POWER MANAGEMENT, SERVICES.
Follow the knowledge section in any order.
* SETUP
-----
$ xbps-install -Su xbps
$ xbps-install xtools
$ xi git make lr
$ xi tlp # if using laptop (for power management)
$ git clone git://kentoj.de/d.git ~/dots
$ cd ~/dots
$ xi $(cat pkgs.txt)
$ make
$ chsh -s /bin/zsh
$ su -c "echo 'permit nopass keepenv :wheel' > /etc/doas.conf"
* POWER MANAGEMENT
----------------
my /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
* SERVICES
--------
run the following command to register the services:
$ for sv in dbus tlp socklog-unix turnstiled; do
doas ln -vs "/etc/sv/$sv" /var/service
done
it will fail for `tlp` if you skipped the POWER MANAGEMENT section but that's
fine.
KNOWLEDGE
---------
* recommended packages
--------------------
- tlp for power management
- nsxiv for image viewing
- dooble for browser
- links for quick html rendering
- pcmanfm as a file manager
* non-packaged packages
---------------------
keep source in ~/opt/<project>.
have a makefile with an install and uninstall target in each
directory.
* autologin voidlinux tty1 to x11
-------------------------------
you can do this if u want:
$ cp /etc/sv
$ cp -r agetty-tty1 agetty-autologin-tty1
(naming is important)
in /etc/sv/agetty-autologin-tty1/conf:
GETTY_ARGS="--autologin <username> --noclear"
BAUD_RATE=38400
TERM_NAME=linux
now enable the service and disable the agetty-tty1 service.
* no beep
-------
/etc/modprobe.d/no-beep.conf:
blacklist pcspkr
$ rmmod pcspkr
TODO
----
* pass/otp setup
* backups
* some MUA, mblaze?
* noise suppression, rnnoise, maybe use pipewire
* cupload script
* set user dirs + delete redundant
* platinum9/nineicons for icons