new nvidia drivers!
This commit is contained in:
parent
c3df72be4d
commit
5df4389390
2 changed files with 11 additions and 10 deletions
|
@ -2,6 +2,7 @@
|
||||||
inputs = {
|
inputs = {
|
||||||
# ...
|
# ...
|
||||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||||
|
nvidia-beta.url = "github:NixOS/nixpkgs/d5c3f1ef368b44fa63ff2a5b79578b9acbbb40db";
|
||||||
flatpaks.url = "github:GermanBread/declarative-flatpak/dev";
|
flatpaks.url = "github:GermanBread/declarative-flatpak/dev";
|
||||||
flatpaks.inputs.nixpkgs.follows = "nixpkgs";
|
flatpaks.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
|
hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
|
||||||
|
|
|
@ -3,15 +3,15 @@
|
||||||
environment.etc.nixpkgs.source = inputs.nixpkgs;
|
environment.etc.nixpkgs.source = inputs.nixpkgs;
|
||||||
networking.hostName = "insertpclinux";
|
networking.hostName = "insertpclinux";
|
||||||
services.xserver.videoDrivers = ["nvidia"];
|
services.xserver.videoDrivers = ["nvidia"];
|
||||||
#nixpkgs.overlays = [ (self: super: (let
|
nixpkgs.overlays = [ (self: super: (let
|
||||||
# patched_pkgs = import inputs.nixpkgs_patched {
|
patched_pkgs = import inputs.nvidia-beta {
|
||||||
# inherit (self) system;
|
inherit (self) system;
|
||||||
# config.allowUnfree = true;
|
config.allowUnfree = true;
|
||||||
# };
|
};
|
||||||
# in {
|
in {
|
||||||
# linuxPackages = patched_pkgs.linuxPackages;
|
linuxPackages = patched_pkgs.linuxPackages;
|
||||||
# })) ];
|
})) ];
|
||||||
#boot.kernelPackages = pkgs.linuxPackages;
|
boot.kernelPackages = pkgs.linuxPackages;
|
||||||
|
|
||||||
services.sunshine = {
|
services.sunshine = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -41,7 +41,7 @@
|
||||||
|
|
||||||
# Optionally, you may need to select the appropriate driver version for your specific GPU.
|
# Optionally, you may need to select the appropriate driver version for your specific GPU.
|
||||||
|
|
||||||
package = config.boot.kernelPackages.nvidiaPackages.production;
|
package = config.boot.kernelPackages.nvidiaPackages.beta;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue