parent
eb9ba2a7a4
commit
ed260d8743
3 changed files with 37 additions and 75 deletions
devices/binto
|
@ -2,25 +2,12 @@
|
|||
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"];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue