Browse Source

Merge pull request #205 from neutralinsomniac/add_default_nix

Add default.nix/.envrc for automagic dev environment on NixOS
pull/223/head
ripplebiz 1 year ago
committed by GitHub
parent
commit
70b6e01c49
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 1
      .envrc
  2. 1
      .gitignore
  3. 10
      default.nix

1
.envrc

@ -0,0 +1 @@
use nix

1
.gitignore

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

10
default.nix

@ -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
];
}
Loading…
Cancel
Save