nixos/razer: move module replacement to module-overrides.nix

This commit is contained in:
Wroclaw 2025-04-07 13:25:03 +02:00
parent 8ceac3ce88
commit 0d62f52cd5
2 changed files with 12 additions and 12 deletions

View file

@ -1,23 +1,11 @@
{
config,
lib,
modulesPath,
pkgs,
...
}:
{
# NIXPKGS-PR: 394300
disabledModules = [
"${modulesPath}/hardware/openrazer.nix"
];
imports = [
(builtins.fetchurl {
url = "https://raw.githubusercontent.com/NixOS/nixpkgs/4a11562c20fbe7af7d5ac139dbf0f8d50ce276f6/nixos/modules/hardware/openrazer.nix";
sha256 = "0n6kzrcwlmxgws4pmffyqagp2rxpfxmfjl11vgvlkjcbglg6fs7y";
})
];
config = {
hardware.openrazer = {
enable = true;