From 62814b1916432d2f99ff7e824461c4ff9e2fca6c Mon Sep 17 00:00:00 2001 From: Jakob Lechner Date: Wed, 17 Sep 2025 00:19:30 +0200 Subject: [PATCH] Use vesc only on copper --- users/jalr/modules/vesc-tool.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/users/jalr/modules/vesc-tool.nix b/users/jalr/modules/vesc-tool.nix index 16daa17..aba5905 100644 --- a/users/jalr/modules/vesc-tool.nix +++ b/users/jalr/modules/vesc-tool.nix @@ -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 = [