asus rollback to an older version

This commit is contained in:
shibazaki 2025-01-14 17:30:28 +01:00
parent e61a9d941e
commit 55bb51b804

View File

@ -1,4 +1,6 @@
{ config, lib, pkgs, ... }: { { config, pkgs, ... }:
{
# Enable the supergfxd service # Enable the supergfxd service
services.supergfxd.enable = true; services.supergfxd.enable = true;
@ -7,5 +9,19 @@
enable = true; enable = true;
enableUserService = true; enableUserService = true;
}; };
# Override supergfxctl to use a specific commit
nixpkgs.overlays = [
(self: super: {
supergfxctl = super.supergfxctl.overrideAttrs (oldAttrs: {
src = super.fetchFromGitHub {
owner = "asus-linux";
repo = "supergfxctl";
rev = "af23df7596712bb9433a3be917febadeb3f1f419"; # Full commit hash
sha256 = "0b9s64idcs3vyh0fdfcvd28cfa2vv4b125vdsw7088rzd1fhbh13"; # Use pkgs.lib to access lib
};
});
})
];
} }