Skip to content

Instantly share code, notes, and snippets.

@NullString1
NullString1 / re300.conf
Created September 24, 2025 18:21
u-boot config for re300 (mt7628)
#
# Automatically generated file; DO NOT EDIT.
# U-Boot 2025.10-rc4 Configuration
#
#
# Compiler: mipsel-unknown-linux-gnu-gcc (GCC) 14.3.0
#
CONFIG_HAVE_ARCH_IOREMAP=y
CONFIG_SUPPORT_LITTLE_ENDIAN=y
@NullString1
NullString1 / 0001-mtd-spi-nor-ids-Add-support-for-EON-en25qh64a.patch
Created September 24, 2025 18:07
0001-mtd-spi-nor-ids-Add-support-for-EON-en25qh64a.patch: Patch for u-boot to add support for en25qh64a flash chip
From 4fd269a75d575ac5c67bd7105d198904e97ea781 Mon Sep 17 00:00:00 2001
From: NullString1 <kernd2005@gmail.com>
Date: Wed, 24 Sep 2025 18:03:58 +0100
Subject: [PATCH] mtd: spi-nor-ids: Add support for EON en25qh64a
Similar to en25qh64
---
drivers/mtd/spi/spi-nor-ids.c | 1 +
1 file changed, 1 insertion(+)
@NullString1
NullString1 / winmount.nix
Created March 25, 2025 16:18
NixOS config to mount bitlocker encrypted partition
# NixOS config to mount a bitlocker encrypted partition as read/write
# Bitlocker key / recovery key must be written to a file for crypttab to read
{ config, pkgs, ... }: {
environment.etc.crypttab = {
mode = "0600";
text = "win /dev/nvme0n1p3 /root/btlk.key bitlk"; # Replace with correct partition, and path to bitlocker key in root only readable file
};
fileSystems."/run/media/win" = {
device = "/dev/mapper/win";
fsType = "ntfs3";