asus rollback to an older version
This commit is contained in:
parent
e61a9d941e
commit
55bb51b804
@ -1,4 +1,6 @@
|
||||
{ config, lib, pkgs, ... }: {
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
# Enable the supergfxd service
|
||||
services.supergfxd.enable = true;
|
||||
|
||||
@ -7,5 +9,19 @@
|
||||
enable = 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
|
||||
};
|
||||
});
|
||||
})
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user