[General+Boot] Add more options options to minimal config.

Use mainline kvdo.
Add more options to nouveau kernel module.
This commit is contained in:
Antoine Viallon 2022-10-05 09:02:25 +02:00
parent 233927842b
commit 1c83eb0708
Signed by: aviallon
GPG key ID: 186FC35EDEB25716
5 changed files with 40 additions and 23 deletions

View file

@ -5,5 +5,14 @@ let
in {
config = mkIf (cfg.enable && !cfg.useProprietary) {
boot.initrd.kernelModules = [ "nouveau" ];
aviallon.boot.cmdline = {
"nouveau.perflvl_wr" = 7777;
"nouveau.pstate" = 1;
"nouveau.runpm" = 1;
"nouveau.modeset" = 1;
"nouveau.config" = "NvBoost=1";
};
};
}

View file

@ -19,6 +19,7 @@ in {
powerManagement.enable = true;
powerManagement.finegrained = mkIf config.hardware.nvidia.prime.offload.enable true;
modesetting.enable = true;
nvidiaSettings = true;
};
aviallon.boot.cmdline = mkIf cfg.saveAllVram {