hate nvidia
for some reason 580 is the stable version on 25.11?
This commit is contained in:
parent
4efebf051a
commit
2856391f26
3 changed files with 27 additions and 2 deletions
17
flake.lock
generated
17
flake.lock
generated
|
|
@ -805,6 +805,22 @@
|
||||||
"url": "https://git.outfoxxed.me/outfoxxed/quickshell"
|
"url": "https://git.outfoxxed.me/outfoxxed/quickshell"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"rollback": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1764836381,
|
||||||
|
"narHash": "sha256-8jemYbbW9EBttQKHep7Rj8kzXaxsrk/lACdXA2DN5Xk=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "ff06bd3398fb1bea6c937039ece7e7c8aa396ebf",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "NixOS",
|
||||||
|
"ref": "nixos-25.05",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"dankMaterialShell": "dankMaterialShell",
|
"dankMaterialShell": "dankMaterialShell",
|
||||||
|
|
@ -821,6 +837,7 @@
|
||||||
"nvim-dots": "nvim-dots",
|
"nvim-dots": "nvim-dots",
|
||||||
"pinix": "pinix",
|
"pinix": "pinix",
|
||||||
"quickshell": "quickshell",
|
"quickshell": "quickshell",
|
||||||
|
"rollback": "rollback",
|
||||||
"unstable": "unstable"
|
"unstable": "unstable"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -74,6 +74,10 @@
|
||||||
url = "github:hyprwm/Hyprland";
|
url = "github:hyprwm/Hyprland";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
rollback = {
|
||||||
|
url = "github:NixOS/nixpkgs/nixos-25.05";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = {
|
outputs = {
|
||||||
|
|
@ -132,6 +136,10 @@
|
||||||
dmsCli = inputs.dankMaterialShell.packages.${system}.default;
|
dmsCli = inputs.dankMaterialShell.packages.${system}.default;
|
||||||
dankMaterialShell = inputs.dankMaterialShell.packages.${system}.dankMaterialShell;
|
dankMaterialShell = inputs.dankMaterialShell.packages.${system}.dankMaterialShell;
|
||||||
pinix = inputs.pinix.packages.${system}.default;
|
pinix = inputs.pinix.packages.${system}.default;
|
||||||
|
nvidiaRollback = import inputs.rollback {
|
||||||
|
inherit system;
|
||||||
|
config.allowUnfree = true;
|
||||||
|
};
|
||||||
})
|
})
|
||||||
(final: prev: {
|
(final: prev: {
|
||||||
inherit
|
inherit
|
||||||
|
|
|
||||||
|
|
@ -6,10 +6,10 @@
|
||||||
services.xserver.videoDrivers = ["nvidia"];
|
services.xserver.videoDrivers = ["nvidia"];
|
||||||
|
|
||||||
hardware.nvidia = {
|
hardware.nvidia = {
|
||||||
package = config.boot.kernelPackages.nvidiaPackages.stable;
|
package = pkgs.nvidiaRollback.linuxPackages.nvidiaPackages.stable;
|
||||||
open = true;
|
open = true;
|
||||||
modesetting.enable = true; # must be true for Wayland
|
modesetting.enable = true; # must be true for Wayland
|
||||||
powerManagement.enable = false; # laptops need this
|
powerManagement.enable = false;
|
||||||
nvidiaSettings = true;
|
nvidiaSettings = true;
|
||||||
nvidiaPersistenced = true;
|
nvidiaPersistenced = true;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue