fix: update flake and gitignore

This commit is contained in:
phiwan-dev 2025-08-04 01:15:40 +02:00
parent 37beaf3ee4
commit 556aba3eba
2 changed files with 10 additions and 8 deletions

View file

@ -1,27 +1,27 @@
{
description = "ergogen dev env";
description = "dev env for development of the phiboard keyboard";
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-25.05";
outputs = { self, nixpkgs }:
let
system = "x86_64-linux";
pkgs = import nixpkgs { inherit system; config.cudaSupport = true; config.cudnnSupport = true; config.allowUnfree = true; };
pkgs = import nixpkgs { inherit system; config.allowUnfree = true; };
in {
devShells.${system}.default = pkgs.mkShell {
buildInputs = with pkgs; [
ergogen
librecad # for 2D outlines
kicad # for PCBs
ergogen
librecad # for 2D outlines
devcontainer
kicad # for PCBs
devcontainer # for zmk
];
shellHook = ''
export __GLX_VENDOR_LIBRARY_NAME="" # To fix kicad with nvidia drivers
echo loaded ergogen shell
echo "workflow: ergogen . && cp output/pcbs/pcb.kicad_pcb kicad-prj/"
echo loaded phiboard shell
'';
};
};