Use vesc only on copper
This commit is contained in:
parent
3deb1898cf
commit
62814b1916
1 changed files with 2 additions and 2 deletions
|
|
@ -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 = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue