Skip to content

Instantly share code, notes, and snippets.

View NRngnl's full-sized avatar

Anthony Hung NRngnl

View GitHub Profile
@NRngnl
NRngnl / cos-zfs-arch-chroot.txt
Last active December 28, 2024 11:35
CachyOS ZFS Installation arch-chroot
# Ensures all pools are cleanly exported before starting
zpool export -a
# Get the list of pools that are not imported.
zpool import
# Mount the pool <poolname> to /mnt, may need to add -f argument
zpool import -N -R /mnt <poolname>
# Optional, if encrypted
@NRngnl
NRngnl / 20-makepkg.hook
Created February 17, 2024 04:23 — forked from lzlrd/20-makepkg.hook
A Makepkg configuration for Arch Linux that utilises LLVM and takes optimisation up to eleven.
[Trigger]
Operation = Install
Operation = Upgrade
Type = Path
Target = etc/makepkg.conf
Target = usr/share/makepkg/buildenv/lto.sh
Target = usr/share/makepkg/executable/strip.sh
[Action]
Description = Modifying the Makepkg configuration...