From a5eae0df834d5151efd83a0321ae952e3be394cd Mon Sep 17 00:00:00 2001 From: Dave Gallant Date: Mon, 27 Jan 2025 20:23:41 -0500 Subject: [PATCH] Remove sbx-h6-rgb --- home/default.nix | 1 - machines/hephaestus/configuration.nix | 4 --- overlays/default.nix | 1 - overlays/sbx-h6-rgb/default.nix | 35 --------------------------- 4 files changed, 41 deletions(-) delete mode 100644 overlays/sbx-h6-rgb/default.nix diff --git a/home/default.nix b/home/default.nix index 85b10af..5951a58 100644 --- a/home/default.nix +++ b/home/default.nix @@ -198,7 +198,6 @@ in nix-install = "nix-env -iA"; ps = "procs"; t = "cd-fzf"; - ts = "tms switch"; tf = "terraform"; tree = "eza --tree"; v = "nvim"; diff --git a/machines/hephaestus/configuration.nix b/machines/hephaestus/configuration.nix index b39ca7b..9029bfd 100644 --- a/machines/hephaestus/configuration.nix +++ b/machines/hephaestus/configuration.nix @@ -114,7 +114,6 @@ in prismlauncher qemu ryujinx - sbx-h6-rgb strace unityhub unstable.burpsuite @@ -256,9 +255,6 @@ in enable = true; package = unstable.tailscale; }; - udev.extraRules = '' - ACTION=="add", ATTR{idVendor}=="041e", ATTR{idProduct}=="3255", RUN+="${pkgs.sbx-h6-rgb}/bin/sbx-h6-ctl -c c010ff 041e:3255" - ''; xserver = { enable = true; displayManager = { diff --git a/overlays/default.nix b/overlays/default.nix index 7a539db..9007a0b 100644 --- a/overlays/default.nix +++ b/overlays/default.nix @@ -1,5 +1,4 @@ final: prev: { cd-fzf = prev.callPackage ./cd-fzf { }; - sbx-h6-rgb = prev.callPackage ./sbx-h6-rgb { }; vpngate = prev.callPackage ./vpngate { }; } diff --git a/overlays/sbx-h6-rgb/default.nix b/overlays/sbx-h6-rgb/default.nix deleted file mode 100644 index dcbbbb9..0000000 --- a/overlays/sbx-h6-rgb/default.nix +++ /dev/null @@ -1,35 +0,0 @@ -{ - lib, - fetchFromGitHub, - pkgs, - stdenv, -}: -stdenv.mkDerivation rec { - pname = "sbx-h6-rgb"; - version = "95b4ef9788ef94e557a4d1e815079d5ea8a70943"; - - src = fetchFromGitHub { - owner = "Oscillope"; - repo = "sbx-h6-rgb"; - rev = version; - sha256 = "sha256-tKKNdzijloBiGBHf5C604824B/BbxBxvCL/ms4orT9M="; - }; - - buildInputs = with pkgs; [ hidapi ]; - - buildPhase = '' - make - ''; - - installPhase = '' - install -D sbx-h6-ctl $out/bin/sbx-h6-ctl - ''; - - meta = with lib; { - description = "Creative SoundBlasterX RGB LED setter."; - license = licenses.gpl3; - maintainers = with maintainers; [ davegallant ]; - platforms = platforms.linux; - }; - -}