fix(binto): lock nvidia driver / kernel version to working one
All checks were successful
Discord / discord commits (push) Has been skipped

This commit is contained in:
matt1432 2024-03-08 16:59:41 -05:00
parent 24e82e3229
commit 1406553af2
3 changed files with 9 additions and 3 deletions

View file

@ -2,14 +2,20 @@
config, config,
lib, lib,
modulesPath, modulesPath,
nixpkgs-nvidia,
pkgs, pkgs,
... ...
}: { }: let
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; nvidiaPkgs = import nixpkgs-nvidia {
inherit (pkgs) system;
config.allowUnfree = true;
};
in {
nixpkgs.hostPlatform = "x86_64-linux";
imports = [(modulesPath + "/installer/scan/not-detected.nix")]; imports = [(modulesPath + "/installer/scan/not-detected.nix")];
boot = { boot = {
kernelPackages = pkgs.linuxPackages_zen; kernelPackages = nvidiaPkgs.linuxPackages_zen;
kernelParams = ["amd_pstate=active"]; kernelParams = ["amd_pstate=active"];
kernelModules = ["kvm-amd"]; kernelModules = ["kvm-amd"];

Binary file not shown.

BIN
flake.nix

Binary file not shown.