feat: rewrite pi to be simple and nix based

This commit is contained in:
Jet Pham 2026-03-08 19:06:08 -07:00
parent b2c8d08bdc
commit c6e726c430
No known key found for this signature in database
28 changed files with 880 additions and 2458 deletions

View file

@ -0,0 +1,22 @@
{ config, lib, pkgs, modulesPath, ... }:
{
# TODO: Replace this file with the output of `nixos-generate-config --show-hardware-config`
# on your Raspberry Pi, or use an appropriate hardware module.
#
# Example for Raspberry Pi 4:
#
# imports = [ "${modulesPath}/installer/sd-card/sd-image-aarch64.nix" ];
#
# hardware.enableRedistributableFirmware = true;
imports = [ ];
boot.loader.grub.enable = false;
boot.loader.generic-extlinux-compatible.enable = true;
fileSystems."/" = {
device = "/dev/disk/by-label/NIXOS_SD";
fsType = "ext4";
};
}