1
0
Fork 0

Move Khanda's PSR fix into nixos-hardware

This commit is contained in:
Aires 2024-05-12 12:06:08 -04:00
parent ba9e2d4da3
commit a2a73c1bcb
3 changed files with 8 additions and 9 deletions

View file

@ -249,15 +249,16 @@
}, },
"nixos-hardware": { "nixos-hardware": {
"locked": { "locked": {
"lastModified": 1715148395, "lastModified": 1715528918,
"narHash": "sha256-lRxjTxY3103LGMjWdVqntKZHhlmMX12QUjeFrQMmGaE=", "narHash": "sha256-VvRyabLoTbX69HRiSmgraHqPzz+cfjMJjYxSmBPz0vg=",
"owner": "NixOS", "owner": "8bitbuddhist",
"repo": "nixos-hardware", "repo": "nixos-hardware",
"rev": "a4e2b7909fc1bdf30c30ef21d388fde0b5cdde4a", "rev": "2e28b5160b3fb8a1950a45f65e66fcca06920ac0",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "NixOS", "owner": "8bitbuddhist",
"ref": "surface-pro-9-disable-psr",
"repo": "nixos-hardware", "repo": "nixos-hardware",
"type": "github" "type": "github"
} }

View file

@ -25,7 +25,7 @@
nix-flatpak.url = "github:gmodena/nix-flatpak/v0.4.1"; nix-flatpak.url = "github:gmodena/nix-flatpak/v0.4.1";
# Hardware configurations # 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
home-manager = { home-manager = {
@ -107,7 +107,7 @@
Khanda = nixpkgs.lib.nixosSystem { Khanda = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
modules = defaultModules.base ++ [ modules = defaultModules.base ++ [
nixos-hardware.nixosModules.microsoft-surface-pro-intel nixos-hardware.nixosModules.microsoft-surface-pro-9
./hosts/Khanda ./hosts/Khanda
]; ];
}; };

View file

@ -66,8 +66,6 @@
"pinctrl_tigerlake" "pinctrl_tigerlake"
]; ];
extraModulePackages = [ ]; extraModulePackages = [ ];
kernelParams = [ "i915.enable_psr=0" ]; # Disable Intel Panel Self Refresh to reduce lag and hiccups
}; };
fileSystems = { fileSystems = {