Skip to content

Instantly share code, notes, and snippets.

View infopunk's full-sized avatar

Rik van Loenhout infopunk

  • The Netherlands
View GitHub Profile
@sveitser
sveitser / install-nixos-luks-yubikey-zfs.sh
Last active July 8, 2025 19:43
Install nixos on luks, zfs and encrypt passphrase with yubikey
#!/usr/bin/env bash
#
# 1. boot from live cd, with programs.gpg enabled
# 2. gpg --import /your/public/key
# 3. edit GPG_ID, DISK below
# 4. run script
#
set -euo pipefail
GPG_ID="foo@bar.com"
DISK="/dev/disk/by-id/..."
@byrongibson
byrongibson / Readme.md
Created June 13, 2021 03:38 — forked from ixmatus/Readme.md
Nixos with ZFS on encrypted LUKS as root filesystem
@peteruithoven
peteruithoven / quarter-tiler
Last active March 2, 2023 06:31
Crude quarter tiling tool for elementary OS
#!/bin/bash
# Crude quarter tiling tool
# Installation:
# Move file to: /usr/local/bin/quarter-tiler
# Make executable: sudo chmod +x /usr/local/bin/quarter-tiler
# Assign keyboard shortcuts to commands like "quarter-tiler topleft"
# Margins around windows (elementary OS native apps) (HiDPI)
MARGIN_TOP=130
@kdwinter
kdwinter / Arch-ZFSRoot-on-dm-crypt-UEFI.md
Last active July 24, 2023 21:31 — forked from aaronlauterer/Arch-ZFSRoot-on-dm-crypt-UEFI
ZFSRoot installation over a dm-crypt volume for Arch Linux (UEFI)

Install Arch Linux on root ZFS filesystem

Pre-installation

Download Arch linux

https://archlinux.org

Create bootable USB (don't add partition number!)