From ee83d51dd23946572c06017d7ac02f541fe5c274 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/users/jalr/modules/vesc-tool.nix b/users/jalr/modules/vesc-tool.nix index 16daa17..3b5d90b 100644 --- a/users/jalr/modules/vesc-tool.nix +++ b/users/jalr/modules/vesc-tool.nix @@ -1,6 +1,6 @@ { 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 ]; xdg.dataFile."VESC/firmware".source = pkgs.bldc-fw.override { fwBoards = [