feat: rewrite pi to be simple and nix based
This commit is contained in:
parent
b2c8d08bdc
commit
c6e726c430
28 changed files with 880 additions and 2458 deletions
22
pi/hardware-configuration.nix
Normal file
22
pi/hardware-configuration.nix
Normal 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";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue