Use vesc only on copper
This commit is contained in:
parent
3deb1898cf
commit
ee83d51dd2
1 changed files with 1 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
{ nixosConfig, lib, pkgs, ... }:
|
{ nixosConfig, lib, pkgs, ... }:
|
||||||
|
|
||||||
lib.mkIf nixosConfig.jalr.gui.enable {
|
lib.mkIf (nixosConfig.jalr.gui.enable && nixosConfig.networking.hostName == "copper") {
|
||||||
home.packages = with pkgs; [ vesc-tool ];
|
home.packages = with pkgs; [ vesc-tool ];
|
||||||
xdg.dataFile."VESC/firmware".source = pkgs.bldc-fw.override {
|
xdg.dataFile."VESC/firmware".source = pkgs.bldc-fw.override {
|
||||||
fwBoards = [
|
fwBoards = [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue