parent
6441ae6548
commit
1b235a4b7e
4 changed files with 39 additions and 2 deletions
devices/binto
|
@ -2,12 +2,25 @@
|
|||
config,
|
||||
lib,
|
||||
modulesPath,
|
||||
nixpkgs-nvidia-fix,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
imports = [(modulesPath + "/installer/scan/not-detected.nix")];
|
||||
|
||||
# FIXME: remove this once PR reaches unstable
|
||||
nixpkgs.overlays = [
|
||||
(self: super: (let
|
||||
patched-pkgs = import nixpkgs-nvidia-fix {
|
||||
inherit (self) system;
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
in {
|
||||
linuxPackages_zen = patched-pkgs.linuxPackages_zen;
|
||||
}))
|
||||
];
|
||||
|
||||
boot = {
|
||||
kernelPackages = pkgs.linuxPackages_zen;
|
||||
kernelModules = ["kvm-amd"];
|
||||
|
|
|
@ -28,8 +28,7 @@
|
|||
# Experimental and only works on modern Nvidia GPUs (Turing or newer).
|
||||
powerManagement.finegrained = false;
|
||||
|
||||
# FIXME: https://github.com/NVIDIA/open-gpu-kernel-modules/pull/589
|
||||
open = false;
|
||||
open = true;
|
||||
|
||||
# Enable the Nvidia settings menu,
|
||||
# accessible via `nvidia-settings`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue