added shell for codeblocks

This commit is contained in:
nils 2025-01-12 18:27:55 +01:00
parent f2b430287a
commit 664587f7f5

View file

@ -48,7 +48,7 @@ root@host:~# chroot /mnt
Before installing any software first edit `/etc/portage/make.conf` which acts as the main configuration file for portage. A Gentoo installation is highly personal so diverting from these settings is encouraged. Here's an example file:
``` title="/etc/portage/make.conf"
``` shell title="/etc/portage/make.conf"
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
COMMON_FLAGS="-march=native -O2 -pipe"
@ -114,7 +114,7 @@ Then try running `vim` and it theory it should work!
Simply add these lines to the systems `fstab`:
``` title="/etc/fstab"
``` shell title="/etc/fstab"
rpool/root/gentoo / zfs rw,noatime,xattr,posixacl,casesensitive 0 1
rpool/root/gentoo/var /var zfs rw,noatime,nosuid,nodev,xattr,posixacl,casesensitive 0 2
/dev/disk/by-label/esp /efi vfat defaults,nodev,nosuid,noexec,umask=0077 0 2
@ -132,7 +132,7 @@ root@chroot:~# emerge -av sys-libs/timezone-data
Select the correct timezone with:
``` title="/etc/env.d/00local"
``` shell title="/etc/env.d/00local"
TZ="/usr/share/zoneinfo/<region>/<city>"
```
@ -160,7 +160,7 @@ root@chroot:~# emerge -av sys-apps/musl-locales
And to allow the system to know where the locales are located:
``` title="/etc/env.d/01musl_locales"
``` shell title="/etc/env.d/01musl_locales"
MUSL_LOCPATH="/usr/share/i18n/locales/musl"
```
@ -306,7 +306,7 @@ sys-kernel/linux-firmware linux-fw-redistributable @BINARY-REDISTRIBUTABLE
Then to allow `zlevis` to unlock the root pool it will need to be added to the initramfs. Enable the `zlevis` module for dracut:
``` title="/etc/dracut.conf.d/zlevis.conf"
``` shell title="/etc/dracut.conf.d/zlevis.conf"
nofsck="yes"
add_dracutmodules+=" zlevis "
```