dev: add more tooling to flake

This commit is contained in:
phiwan-dev 2025-06-07 01:12:38 +02:00
parent 64ddd0fb6b
commit 9fb4e824eb
2 changed files with 13 additions and 9 deletions

View file

@ -1,8 +1,6 @@
{
description = "ergogen dev env";
#inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11"; Uses the cuda driver installed on the system, hence commented out.
#inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; Forcing a specific version will likely result in conflicts!
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-25.05";
outputs = { self, nixpkgs }:
let
@ -13,9 +11,13 @@
buildInputs = with pkgs; [
ergogen
librecad # for 2D outlines
kicad # for PCBs
];
shellHook = ''
export __GLX_VENDOR_LIBRARY_NAME="" # To fix kicad with nvidia drivers
echo loaded ergogen shell
'';
};