update documentation

This commit is contained in:
Frank Zechert
2026-07-23 22:01:03 +02:00
parent e0fad8e6ed
commit 40b6cd8bb5
6 changed files with 190 additions and 2 deletions
@@ -121,5 +121,41 @@ uwsm libnewt
You can now start hyprland with `uwsm start hyprland.desktop`.
## Automatic Configuration
A lot of the paage installation and configuration in the `$HOME` and `$HOME/.config` folders can be automated
with `chezmoi`.
1. Make sure that `chezmoi` is installed on the system with `pacman -S chezmoi`.
2. Then run the following command to clone and apply configuration files from the `fz-stack` dotfiles repository.
You can modify the path you want to checkout the dotfiles to by modifying the `-S ...` argument.
```sh
chezmoi -S $HOME/Projects/fz-stack/dotfiles init ssh://git@zechert.net:fz-stack/dotfiles.git
```
> Tip: The applied `~/.bashrc` will set up an alias to call `chezmoi` without the need to specify the `-S ...`
> argument everytime. If you install the dotfiles to a different place than the `$HOME/Projects/fz-stack/dotfiles`
> mentioned here, you will need to change this alias in the `.bashrc` configuration file.
## Automatic Login on TTY1
If the system is used by a single user, and the disk encryption password is known only to this user, it might be
desirable to automatically log in this user when the computer starts.
Create a drop-in file for `getty@tty1.service` with the following contents in `/etc/systemd/system/getty@tty1.service.d/autologin.conf`.
```ini
[Service]
ExecStart=
ExecStart=-/sbin/agetty -o '-p -f -- \\u' --noclear --autologin <username> %I $TERM
```
After the automatic login of the user, Hyprland will be started on TTY1 by the `uwsm` commands
in the `~/.bash_profile` file. On other TTYs, Hyprland will not be started automatically.
## Create Default User Directories
Execute the command `xdg-user-dirs-update` to create or update the default user directories.
[arch-wiki-graphics]: https://wiki.archlinux.org/title/Category:Graphics