feat(kicad): add KICAD9_FOOTPRINT_DIR session variable for footprint libraries
This commit is contained in:
@@ -156,6 +156,11 @@
|
|||||||
# Allow /etc/hosts to be modified without system rebuild
|
# Allow /etc/hosts to be modified without system rebuild
|
||||||
environment.etc.hosts.mode = "0644";
|
environment.etc.hosts.mode = "0644";
|
||||||
|
|
||||||
|
# KiCad footprint libraries
|
||||||
|
environment.sessionVariables = {
|
||||||
|
KICAD9_FOOTPRINT_DIR = "${pkgs.kicad-libraries.footprints}/share/kicad/footprints";
|
||||||
|
};
|
||||||
|
|
||||||
# Enable flakes and extras
|
# Enable flakes and extras
|
||||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user