Revert "openrgb: override mbedtls_2 with mbedtls"
This reverts commit b1b9a3755f31e834b1a58c0e6259fd92fc7c60fd.
This commit is contained in:
parent
50d70e8569
commit
097b89a14a
11
no-rgb.nix
11
no-rgb.nix
@ -4,11 +4,6 @@
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
# mbedtls_2 is deprecated, override to fix build
|
||||
openrgb_package = pkgs.openrgb.override { mbedtls_2 = pkgs.mbedtls; };
|
||||
in
|
||||
|
||||
{
|
||||
systemd.services.no-rgb =
|
||||
let
|
||||
@ -16,7 +11,7 @@ in
|
||||
pkgs.writeShellApplication {
|
||||
name = "no-rgb";
|
||||
runtimeInputs = with pkgs; [
|
||||
openrgb_package
|
||||
openrgb
|
||||
coreutils
|
||||
gnugrep
|
||||
];
|
||||
@ -45,10 +40,10 @@ in
|
||||
|
||||
services.hardware.openrgb = {
|
||||
enable = true;
|
||||
package = openrgb_package;
|
||||
package = pkgs.openrgb-with-all-plugins;
|
||||
motherboard = "amd";
|
||||
};
|
||||
|
||||
services.udev.packages = [ openrgb_package ];
|
||||
services.udev.packages = [ pkgs.openrgb-with-all-plugins ];
|
||||
hardware.i2c.enable = true;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user