.
This commit is contained in:
parent
ef3e97c79e
commit
0086cdbded
10 changed files with 51 additions and 677 deletions
118
README
118
README
|
|
@ -1,98 +1,58 @@
|
|||
SETUP
|
||||
-----
|
||||
/etc/doas.conf:
|
||||
permit nopass keepenv :wheel
|
||||
|
||||
do it in the order: BASICS, (if using laptop), ALSA, POWER MANAGEMENT, SERVICES.
|
||||
Follow the knowledge section in any order.
|
||||
$ 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
|
||||
|
||||
* 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"
|
||||
|
||||
* ALSA
|
||||
----
|
||||
$ usermod -aG audio <username>
|
||||
$ # relogin
|
||||
$ 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
|
||||
|
||||
* 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.
|
||||
/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
|
||||
--------------------
|
||||
* recommended packages
|
||||
--------------------
|
||||
|
||||
- tlp for power management
|
||||
- nsxiv for image viewing
|
||||
- dooble for browser
|
||||
- links for quick html rendering
|
||||
- zathura and zathura-pdf-mupdf as pdf viewer
|
||||
- pcmanfm as a file manager
|
||||
- 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
|
||||
|
||||
* non-packaged packages
|
||||
---------------------
|
||||
* autologin voidlinux tty1 to x11
|
||||
-------------------------------
|
||||
$ cp /etc/sv
|
||||
$ cp -r agetty-tty1 agetty-autologin-tty1
|
||||
(naming is important)
|
||||
|
||||
keep source in ~/opt/<project>.
|
||||
have a makefile with an install and uninstall target in each
|
||||
directory.
|
||||
/etc/sv/agetty-autologin-tty1/conf:
|
||||
GETTY_ARGS="--autologin <username> --noclear"
|
||||
BAUD_RATE=38400
|
||||
TERM_NAME=linux
|
||||
|
||||
* 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)
|
||||
now enable the agetty-autologin-tty1 service and disable
|
||||
the agetty-tty1 service.
|
||||
|
||||
in /etc/sv/agetty-autologin-tty1/conf:
|
||||
GETTY_ARGS="--autologin <username> --noclear"
|
||||
BAUD_RATE=38400
|
||||
TERM_NAME=linux
|
||||
* no beep
|
||||
-------
|
||||
|
||||
now enable the service and disable the agetty-tty1 service.
|
||||
|
||||
* no beep
|
||||
-------
|
||||
|
||||
/etc/modprobe.d/no-beep.conf:
|
||||
blacklist pcspkr
|
||||
$ rmmod pcspkr
|
||||
/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
|
||||
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
|
||||
----
|
||||
|
|
@ -101,6 +61,4 @@ TODO
|
|||
* backups
|
||||
* some MUA, mblaze?
|
||||
* rnnoise/noise-suppression
|
||||
* cupload script
|
||||
* set user dirs + delete redundant
|
||||
* platinum9/nineicons for icons
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue