From 664587f7f5f923ea773063bbb4d576f05b7d731a Mon Sep 17 00:00:00 2001 From: nils Date: Sun, 12 Jan 2025 18:27:55 +0100 Subject: [PATCH] added shell for codeblocks --- docs/gentoo-desktop-setup/installation.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/gentoo-desktop-setup/installation.md b/docs/gentoo-desktop-setup/installation.md index f9b132b..ade1cd2 100644 --- a/docs/gentoo-desktop-setup/installation.md +++ b/docs/gentoo-desktop-setup/installation.md @@ -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//" ``` @@ -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 " ```