Use vesc only on copper

This commit is contained in:
Jakob Lechner 2025-09-17 00:19:30 +02:00
parent 3deb1898cf
commit 62814b1916

View file

@ -1,6 +1,6 @@
{ nixosConfig, lib, pkgs, ... }:
{ nixosConfig, lib, pkgs, config, ... }:
lib.mkIf nixosConfig.jalr.gui.enable {
lib.mkIf (nixosConfig.jalr.gui.enable && config.networking.hostName == "copper") {
home.packages = with pkgs; [ vesc-tool ];
xdg.dataFile."VESC/firmware".source = pkgs.bldc-fw.override {
fwBoards = [