This commit is contained in:
kento2 2026-01-31 12:19:05 +01:00
parent 3030258b6e
commit 4355e83743
6 changed files with 326 additions and 69 deletions

View file

@ -1,71 +1,86 @@
SETUP
-----
do it in the order: BASICS, (if using laptop) POWER MANAGEMENT, SERVICES
* 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
- meh for image viewing (not packaged)
- dooble for browser
* 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
----
* change shell to /bin/zsh
* pass/otp setup
* mblaze
* noise suppression
* custom plumber
* cgo config to always use plumber
* automatic backups with borg + script
* cupload <<< file
* user dirs cleanup
* backups
* some MUA, mblaze?
* noise suppression, rnnoise, maybe use pipewire
* cupload script
* set user dirs + delete redundant
* platinum9/nineicons for icons
requirements
------------
packages from ./pkgs.txt, use `xbps-install -y $(<pkgs.txt)`.
install michaelforney's velox, see self-compiled packages.
limitations
-----------
* no noise suppression(rnnoise would be good)
Guides
======
dbus
----
dbus is not provided by default, to use it:
install dbus, enable the service,
use `exec dbus-run-session swc-launch velox` in ~/.profile
self-compiled packages
----------------------
recommended: meh dwm cgo(see dl.kentoj.de/patches/cgo-*)
mkdir ~/pkg
clone all sources to ~/pkg,
~/pkg/* should have a Makefile with:
* build: compile
* install: install to /usr/local
* uninstall: uninstall from /usr/local
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 the conf file:
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
restart or simply:
rmmod pcspkr