Skip to content

Instantly share code, notes, and snippets.

View Levy-Y's full-sized avatar
🌌

Levente Hagymasi Levy-Y

🌌
View GitHub Profile
@Levy-Y
Levy-Y / flake.nix
Created February 3, 2026 12:22
Nix flake for ESP32 Rust development with automated toolchain installation and required dependency linking.
{
  inputs = {
    nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
    nixpkgs-legacy.url = "github:nixos/nixpkgs/nixos-23.11";
  };
  outputs = { self, nixpkgs, nixpkgs-legacy, ...}:
    let
      system = "x86_64-linux";
      pkgs = nixpkgs.legacyPackages.${system};