Skip to content

Instantly share code, notes, and snippets.

View Alan01252's full-sized avatar

Alan Hollis Alan01252

View GitHub Profile
@Alan01252
Alan01252 / netboot.nix
Created November 12, 2020 12:58 — forked from erincandescent/netboot.nix
netbooting a raspberry pi running alpine with nix
# dhcp server settings:
# dhcp-mac=set:rpi,b8:27:eb:*:*:*
# dhcp-boot=tag:rpi,boot,10.69.69.179
{ lib, stdenv, config, pkgs, ... }:
let
alpineRelease = "3.11";
alpineRevision = "2";
alpineVersion = "${alpineRelease}.${alpineRevision}";