Skip to content

mguentner/extruder-flake

Repository files navigation

extruder-flake

NixOS aarch64 flake for Raspberry Pi 4 to control a Kingroon KP3S printer running Klipper. Builds an SD-card image and allows nixos-rebuild switch on the device all with the same configuration.nix!

  • USB Webcam Support via ustreamer
  • Automatic connection to Wifi
  • provisioned ssh keys

Building the sd image

$ nix build '.#nixosConfigurations.sdcard.config.system.build.sdImage'

This assumes that your host machine is either aarch64 or you have configured binfmt / qemu, both resulting in it being able to build + run aarch64 binaries.

Flashing the image

$ zstdcat result/sd-image/nixos-sd-image-23.05.20230421.2362848-aarch64-linux.img.zst  | sudo dd of=/dev/sdc bs=8M oflag=direct status=progress iflag=fullblock

Rebuilding on the device

$ nixos-rebuild switch --flake '.#'

TODO

  • move klipper_config (back) to own repository / submodule to track upstream changes.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages