fix: update flake and gitignore
This commit is contained in:
parent
37beaf3ee4
commit
556aba3eba
2 changed files with 10 additions and 8 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -5,6 +5,8 @@ kicad-prj/kicad-prj-backups
|
|||
kicad-prj/fp-lib-table
|
||||
kicad-prj/kicad-prj.kicad_prl
|
||||
kicad-prj/pcb.kicad_prl
|
||||
kicad-prj/fp-info-cache
|
||||
kicad-prj/~*.lck
|
||||
|
||||
# zmk
|
||||
firmware/zmk
|
||||
|
|
|
|||
16
flake.nix
16
flake.nix
|
|
@ -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
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue