Merge pull request #205 from neutralinsomniac/add_default_nix

Add default.nix/.envrc for automagic dev environment on NixOS
This commit is contained in:
ripplebiz
2025-04-24 09:56:48 +10:00
committed by GitHub
3 changed files with 12 additions and 0 deletions

1
.envrc Normal file
View File

@@ -0,0 +1 @@
use nix

1
.gitignore vendored
View File

@@ -1,3 +1,4 @@
.direnv
.pio
.vscode/.browse.c_cpp.db*
.vscode/c_cpp_properties.json

10
default.nix Normal file
View File

@@ -0,0 +1,10 @@
{ pkgs ? import <nixpkgs> {} }:
let
in
pkgs.mkShell {
buildInputs = [
pkgs.platformio
# optional: needed as a programmer i.e. for esp32
pkgs.avrdude
];
}