fix(binto): lock nvidia driver / kernel version to working one
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
24e82e3229
commit
1406553af2
3 changed files with 9 additions and 3 deletions
|
@ -2,14 +2,20 @@
|
|||
config,
|
||||
lib,
|
||||
modulesPath,
|
||||
nixpkgs-nvidia,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
}: let
|
||||
nvidiaPkgs = import nixpkgs-nvidia {
|
||||
inherit (pkgs) system;
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
in {
|
||||
nixpkgs.hostPlatform = "x86_64-linux";
|
||||
imports = [(modulesPath + "/installer/scan/not-detected.nix")];
|
||||
|
||||
boot = {
|
||||
kernelPackages = pkgs.linuxPackages_zen;
|
||||
kernelPackages = nvidiaPkgs.linuxPackages_zen;
|
||||
|
||||
kernelParams = ["amd_pstate=active"];
|
||||
kernelModules = ["kvm-amd"];
|
||||
|
|
BIN
flake.lock
BIN
flake.lock
Binary file not shown.
BIN
flake.nix
BIN
flake.nix
Binary file not shown.
Loading…
Reference in a new issue