Move Khanda's PSR fix into nixos-hardware
This commit is contained in:
parent
ba9e2d4da3
commit
a2a73c1bcb
11
flake.lock
11
flake.lock
|
@ -249,15 +249,16 @@
|
|||
},
|
||||
"nixos-hardware": {
|
||||
"locked": {
|
||||
"lastModified": 1715148395,
|
||||
"narHash": "sha256-lRxjTxY3103LGMjWdVqntKZHhlmMX12QUjeFrQMmGaE=",
|
||||
"owner": "NixOS",
|
||||
"lastModified": 1715528918,
|
||||
"narHash": "sha256-VvRyabLoTbX69HRiSmgraHqPzz+cfjMJjYxSmBPz0vg=",
|
||||
"owner": "8bitbuddhist",
|
||||
"repo": "nixos-hardware",
|
||||
"rev": "a4e2b7909fc1bdf30c30ef21d388fde0b5cdde4a",
|
||||
"rev": "2e28b5160b3fb8a1950a45f65e66fcca06920ac0",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"owner": "8bitbuddhist",
|
||||
"ref": "surface-pro-9-disable-psr",
|
||||
"repo": "nixos-hardware",
|
||||
"type": "github"
|
||||
}
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
nix-flatpak.url = "github:gmodena/nix-flatpak/v0.4.1";
|
||||
|
||||
# Hardware configurations
|
||||
nixos-hardware.url = "github:NixOS/nixos-hardware";
|
||||
nixos-hardware.url = "github:8bitbuddhist/nixos-hardware/surface-pro-9-disable-psr";
|
||||
|
||||
# Home-manager
|
||||
home-manager = {
|
||||
|
@ -107,7 +107,7 @@
|
|||
Khanda = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = defaultModules.base ++ [
|
||||
nixos-hardware.nixosModules.microsoft-surface-pro-intel
|
||||
nixos-hardware.nixosModules.microsoft-surface-pro-9
|
||||
./hosts/Khanda
|
||||
];
|
||||
};
|
||||
|
|
|
@ -66,8 +66,6 @@
|
|||
"pinctrl_tigerlake"
|
||||
];
|
||||
extraModulePackages = [ ];
|
||||
|
||||
kernelParams = [ "i915.enable_psr=0" ]; # Disable Intel Panel Self Refresh to reduce lag and hiccups
|
||||
};
|
||||
|
||||
fileSystems = {
|
||||
|
|
Loading…
Reference in a new issue