Skip to content

Instantly share code, notes, and snippets.

View breitnw's full-sized avatar

Nick Breitling breitnw

View GitHub Profile
@stevesoltys
stevesoltys / nixos_apple_silicon_steam.md
Last active December 1, 2025 23:43
Steam on Asahi NixOS

Running Steam on NixOS Apple Silicon

This guide details how to run Steam on nixos-apple-silicon using Distrobox.

Tested on:

  1. MacBook Pro M2 Max
  2. NixOS channel 25.11 (unstable channel, at the time of writing)
  3. OpenGL core profile version string: 4.6 (Core Profile) Mesa 25.2.4
  4. Wayland / Sway / SDDM
  5. Kernel: 6.16.8-asahi
@Vogtinator
Vogtinator / README.md
Last active December 3, 2025 14:52
Run Win11 on ARM in QEMU

Guide updated to use the official installation .iso from Microsoft, which finally became available in Dec. 2024! For the VHDX disk image based guide check an earlier version of this gist.

When following this guide on a host not capable of aarch64 virtualization, replace -cpu host -accel kvm with -cpu neoverse-n1 (faster to emulate then -cpu max).

  1. Download the installation .iso from https://www.microsoft.com/en-us/software-download/windows11arm64. Win11_24H2_EnglishInternational_Arm64.iso is known to work.
  2. Download the the latest virtio-win.iso from https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/latest-virtio/.
  3. Create a disk image for the Windows installation, e.g. qemu-img create -f qcow2 win11.qcow2 80G
  4. Start the installation with generic (ramfb for display, usb-storage for .isos) as well as virtio (virtio-gpu-pci, virtio-block) devices: `qemu-system-aarch64 -M virt -cpu host -accel kvm -m 4G -smp 4 -device ramfb -device virtio-gpu-pci -bios /usr/share/qemu/qemu-uefi-a
@rougier
rougier / mu4e-side-dashboard.el
Created May 11, 2021 17:19
Mu4e side dashboard
(require 'mu4e)
(require 'mu4e-dashboard)
(setq mu4e-sidebar-frame nil)
(setq mu4e-sidebar-dashboard-file "~/.emacs.d/lisp/dashboard.org")
(defun mu4e-sidebar-create (dashboard-file)
(let ((width (frame-pixel-width))
(height (frame-pixel-height))
(frame (make-frame `((parent-frame . ,(window-frame))