Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
66 changes: 66 additions & 0 deletions .github/workflows/convert-images.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
name: Convert images to AVIF

on:
push:
branches-ignore:
- main
paths:
- "static/images/**"

permissions:
contents: write

jobs:
convert:
name: PNG/JPG to AVIF
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6

- name: Install avifenc
Comment thread Fixed
run: sudo apt-get update -y && sudo apt-get install -y libavif-apps
Comment on lines +20 to +21

Copilot AI Mar 1, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The install step runs apt-get install without first running apt-get update, which can fail on GitHub-hosted runners when package lists are stale/missing. Add an apt-get update (or use sudo apt-get update && sudo apt-get install ...) before installing libavif-apps.

Copilot uses AI. Check for mistakes.

- name: Convert and update references
id: convert
run: |
changed=false
sed_script="$(mktemp)"

while IFS= read -r -d '' f; do
[ -f "$f" ] || continue
dir="$(dirname "$f")"
name="$(basename "${f%.*}")"
outfile="${dir}/${name}.avif"

if avifenc -q 80 -s 6 "$f" "$outfile"; then
rm "$f"
# Build static-relative paths for markdown reference replacement
rel_src="${f#static}"
rel_dst="${outfile#static}"
# Escape regex metacharacters (. [ \ * ^ $) in the source path
esc_src="$(printf '%s\n' "$rel_src" | sed 's/[.[\*^$]/\\&/g')"
# Accumulate substitutions; apply in one pass after the loop
printf 's|%s|%s|gI\n' "$esc_src" "$rel_dst" >> "$sed_script"
changed=true
Comment on lines +41 to +44

Copilot AI Mar 1, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Inside the conversion loop you run find content -name "*.md" -exec sed ... for every image converted, which scales as O(num_images × num_markdown_files) and can become slow on larger batches. Consider collecting all conversions first and then running a single pass over content/**/*.md (e.g., build a sed script with multiple replacements, or run one loop over markdown files and apply all substitutions).

Copilot uses AI. Check for mistakes.
echo "Converted: $f"
else
echo "Failed to convert: $f, skipping." >&2
fi
done < <(find static/images -type f \( -iname "*.png" -o -iname "*.jpg" -o -iname "*.jpeg" \) -print0)

# Single pass over all markdown files with all substitutions at once
if [ "$changed" = "true" ]; then
find content -name "*.md" -exec sed -i -f "$sed_script" {} +
fi
rm -f "$sed_script"

echo "changed=$changed" >> "$GITHUB_OUTPUT"

- name: Commit converted images
if: steps.convert.outputs.changed == 'true'
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add static/images/ content/
git commit -m "chore: auto-convert images to AVIF"
git push
98 changes: 0 additions & 98 deletions content/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,101 +43,3 @@ toc: false
| **Secure Boot** | Enabled |

![System information overview](/images/system-info.avif)

## Getting Started

{{< hextra/feature-grid >}}
{{< hextra/feature-card
title="Getting Started"
subtitle="From fresh CachyOS install to fully configured system"
icon="play"
link="docs/getting-started"
>}}
{{< /hextra/feature-grid >}}

## Hardware & Drivers

{{< hextra/feature-grid >}}
{{< hextra/feature-card
title="NVIDIA Driver Installation"
subtitle="Proprietary NVIDIA drivers with Secure Boot on CachyOS"
icon="chip"
link="docs/hardware/nvidia-driver-installation"
>}}
{{< hextra/feature-card
title="Secure Boot"
subtitle="Custom signing keys with sbctl, UEFI Secure Boot enabled"
icon="shield-check"
link="docs/hardware/secure-boot"
>}}
{{< hextra/feature-card
title="asusctl & ROG Control Center"
subtitle="Fan curves, performance profiles, GPU switching, Slash LED"
icon="adjustments"
link="docs/hardware/asusctl-rog-control"
>}}
{{< /hextra/feature-grid >}}

## Security & Privacy

{{< hextra/feature-grid >}}
{{< hextra/feature-card
title="YubiKey 5C NFC"
subtitle="FIDO2 LUKS unlock and what currently works"
icon="key"
link="docs/security/yubikey"
>}}
{{< hextra/feature-card
title="GDM Autologin"
subtitle="Skip GDM login after LUKS unlock"
icon="lock-open"
link="docs/security/autologin"
>}}
{{< /hextra/feature-grid >}}

## Applications

{{< hextra/feature-grid >}}
{{< hextra/feature-card
title="Applications"
subtitle="Browser, communication, development tools, and system configuration"
icon="collection"
link="docs/applications"
>}}
{{< /hextra/feature-grid >}}

## Networking

{{< hextra/feature-grid >}}
{{< hextra/feature-card
title="eduroam Network Installation"
subtitle="PEAP/MSCHAPv2 setup that actually works on Linux"
icon="wifi"
link="docs/networking/eduroam-network-installation"
>}}
{{< /hextra/feature-grid >}}

## Virtualization

{{< hextra/feature-grid >}}
{{< hextra/feature-card
title="Windows 11 VM Setup"
subtitle="KVM/QEMU VM with VirtIO and SPICE GL"
icon="desktop-computer"
link="docs/virtualization/vm-setup"
>}}
{{< hextra/feature-card
title="Looking Glass Attempt"
subtitle="GPU passthrough attempt, not working on this hardware"
icon="eye"
link="docs/virtualization/looking-glass-attempt"
>}}
{{< hextra/feature-card
title="WinBoat"
subtitle="Windows apps on Linux via Podman container, early beta"
icon="beaker"
link="docs/virtualization/winboat"
>}}
{{< /hextra/feature-grid >}}

---
98 changes: 0 additions & 98 deletions content/_index.nl.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,101 +43,3 @@ toc: false
| **Secure Boot** | Ingeschakeld |

![Systeeminformatie-overzicht](/images/system-info.avif)

## Aan de slag

{{< hextra/feature-grid >}}
{{< hextra/feature-card
title="Aan de slag"
subtitle="Van schone CachyOS-installatie tot volledig geconfigureerd systeem"
icon="play"
link="docs/getting-started"
>}}
{{< /hextra/feature-grid >}}

## Hardware & Drivers

{{< hextra/feature-grid >}}
{{< hextra/feature-card
title="NVIDIA Driver Installatie"
subtitle="Proprietary NVIDIA drivers met Secure Boot op CachyOS"
icon="chip"
link="docs/hardware/nvidia-driver-installation"
>}}
{{< hextra/feature-card
title="Secure Boot"
subtitle="Aangepaste ondertekeningssleutels met sbctl, UEFI Secure Boot ingeschakeld"
icon="shield-check"
link="docs/hardware/secure-boot"
>}}
{{< hextra/feature-card
title="asusctl & ROG Control Center"
subtitle="Fan curves, performance profielen, GPU switching, Slash LED"
icon="adjustments"
link="docs/hardware/asusctl-rog-control"
>}}
{{< /hextra/feature-grid >}}

## Beveiliging & Privacy

{{< hextra/feature-grid >}}
{{< hextra/feature-card
title="YubiKey 5C NFC"
subtitle="FIDO2 LUKS-poging en wat vandaag werkt"
icon="key"
link="docs/security/yubikey"
>}}
{{< hextra/feature-card
title="GDM Autologin"
subtitle="GDM-inlogscherm overslaan na LUKS-ontgrendeling"
icon="lock-open"
link="docs/security/autologin"
>}}
{{< /hextra/feature-grid >}}

## Applicaties

{{< hextra/feature-grid >}}
{{< hextra/feature-card
title="Applicaties"
subtitle="Browser, communicatie, ontwikkeltools en systeemconfiguratie"
icon="collection"
link="docs/applications"
>}}
{{< /hextra/feature-grid >}}

## Netwerk

{{< hextra/feature-grid >}}
{{< hextra/feature-card
title="eduroam Setup"
subtitle="PEAP/MSCHAPv2 configuratie die daadwerkelijk werkt op Linux"
icon="wifi"
link="docs/networking/eduroam-network-installation"
>}}
{{< /hextra/feature-grid >}}

## Virtualisatie

{{< hextra/feature-grid >}}
{{< hextra/feature-card
title="Windows 11 VM Setup"
subtitle="KVM/QEMU VM met VirtIO en SPICE GL"
icon="desktop-computer"
link="docs/virtualization/vm-setup"
>}}
{{< hextra/feature-card
title="Looking Glass Poging"
subtitle="GPU passthrough poging (werkt niet op deze hardware)"
icon="eye"
link="docs/virtualization/looking-glass-attempt"
>}}
{{< hextra/feature-card
title="WinBoat"
subtitle="Windows-apps op Linux via Podman container, vroege beta"
icon="beaker"
link="docs/virtualization/winboat"
>}}
{{< /hextra/feature-grid >}}

---
10 changes: 8 additions & 2 deletions content/docs/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,17 @@ Everything I've documented while running CachyOS on the ROG Zephyrus G16. Start
link="virtualization/vm-setup"
>}}
{{< hextra/feature-card
title="Looking Glass Attempt"
subtitle="GPU passthrough attempt, not working on this hardware"
title="Looking Glass B7"
subtitle="GPU passthrough via Looking Glass, not working on this hardware"
icon="eye"
link="virtualization/looking-glass-attempt"
>}}
{{< hextra/feature-card
title="Podman & Podman Desktop"
subtitle="Docker replacement with rootless containers and a desktop GUI"
icon="server"
link="virtualization/podman"
>}}
{{< /hextra/feature-grid >}}

## Known Issues
Expand Down
10 changes: 8 additions & 2 deletions content/docs/_index.nl.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,17 @@ Alles wat ik heb opgeschreven tijdens het draaien van CachyOS op de ROG Zephyrus
link="virtualization/vm-setup"
>}}
{{< hextra/feature-card
title="Looking Glass Poging"
subtitle="GPU passthrough poging, werkt niet op deze hardware"
title="Looking Glass B7"
subtitle="GPU passthrough via Looking Glass, werkt niet op deze hardware"
icon="eye"
link="virtualization/looking-glass-attempt"
>}}
{{< hextra/feature-card
title="Podman & Podman Desktop"
subtitle="Docker-vervanging met rootless containers en een desktop GUI"
icon="server"
link="virtualization/podman"
>}}
{{< /hextra/feature-grid >}}

## Bekende Problemen
Expand Down
12 changes: 12 additions & 0 deletions content/docs/applications.md
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,18 @@ After saving, Archi appears in the GNOME app launcher:

![Archi running on Wayland with GNOME 49](/images/archi-running.avif)

### Podman & Podman Desktop

For container workloads I use Podman instead of Docker. Podman is daemonless, runs containers rootless by default, and ships a Docker-compatible CLI so existing workflows keep working. `podman-docker` replaces the `docker` package entirely.

All three packages are available in the CachyOS repositories: [podman](https://packages.cachyos.org/package/cachyos-extra-znver4/x86_64_v4/podman), [podman-docker](https://packages.cachyos.org/package/cachyos-extra-znver4/x86_64_v4/podman-docker), [podman-desktop](https://packages.cachyos.org/package/extra/x86_64/podman-desktop).

```bash
sudo pacman -S podman podman-docker podman-desktop
```

For the full setup — including registry configuration and connecting Docker Hub and GitHub — see [Podman & Podman Desktop]({{< relref "/docs/virtualization/podman" >}}) in the Virtualization section.

---

## Gaming & Media
Expand Down
12 changes: 12 additions & 0 deletions content/docs/applications.nl.md
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,18 @@ Na het opslaan verschijnt Archi in de GNOME-app launcher:

![Archi draaiend op Wayland met GNOME 49](/images/archi-running.avif)

### Podman & Podman Desktop

Voor container workloads gebruik ik Podman in plaats van Docker. Podman heeft geen daemon, draait containers standaard rootless en levert een Docker-compatibele CLI zodat bestaande workflows gewoon blijven werken. `podman-docker` vervangt het `docker`-pakket volledig.

Alle drie de pakketten zijn beschikbaar in de CachyOS-repositories: [podman](https://packages.cachyos.org/package/cachyos-extra-znver4/x86_64_v4/podman), [podman-docker](https://packages.cachyos.org/package/cachyos-extra-znver4/x86_64_v4/podman-docker), [podman-desktop](https://packages.cachyos.org/package/extra/x86_64/podman-desktop).

```bash
sudo pacman -S podman podman-docker podman-desktop
```

Voor de volledige setup — inclusief registryconfiguratie en het koppelen van Docker Hub en GitHub — zie [Podman & Podman Desktop]({{< relref "/docs/virtualization/podman" >}}) in de Virtualisatie-sectie.

---

## Games & Media
Expand Down
2 changes: 1 addition & 1 deletion content/docs/known-issues.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "Known Issues"
weight: 7
prev: docs/virtualization/winboat
prev: docs/virtualization/podman
---

Central reference for hardware and software issues on the ASUS ROG Zephyrus G16 GA605WV. Active issues are listed first. Resolved issues are kept as reference at the bottom.
Expand Down
2 changes: 1 addition & 1 deletion content/docs/known-issues.nl.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "Bekende Problemen"
weight: 7
prev: docs/virtualization/winboat
prev: docs/virtualization/podman
---

Centrale referentie voor hardware- en softwareproblemen op de ASUS ROG Zephyrus G16 GA605WV. Actieve problemen staan bovenaan. Opgeloste problemen staan onderaan als naslagwerk.
Expand Down
2 changes: 1 addition & 1 deletion content/docs/virtualization/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ weight: 6
toc: false
---

Running Windows workloads and GPU passthrough experiments on the Zephyrus G16.
Running Windows workloads, GPU passthrough experiments, and container workloads on the Zephyrus G16.
2 changes: 1 addition & 1 deletion content/docs/virtualization/_index.nl.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ weight: 6
toc: false
---

Windows draaien via een VM en GPU passthrough-experimenten op de Zephyrus G16.
Windows draaien via een VM, GPU passthrough-experimenten en container workloads op de Zephyrus G16.
2 changes: 1 addition & 1 deletion content/docs/virtualization/looking-glass-attempt.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: "Looking Glass B7: GPU Passthrough Attempt"
title: "Looking Glass B7"
weight: 2
next: docs/virtualization/winboat
---
Expand Down
2 changes: 1 addition & 1 deletion content/docs/virtualization/looking-glass-attempt.nl.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: "Looking Glass B7: GPU Passthrough Poging"
title: "Looking Glass B7"
weight: 2
next: docs/virtualization/winboat
---
Expand Down
Loading
Loading