Update to 24.11
This commit is contained in:
parent
79310cc53a
commit
81baaf8391
17 changed files with 94 additions and 80 deletions
15
modules/system/devices/video/nouveau/default.nix
Normal file
15
modules/system/devices/video/nouveau/default.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{ lib, pkgs, config, ... }:
|
||||
{
|
||||
options.system.video.nouveau = {
|
||||
enable = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
description = "Enable the open-source Nouveau driver";
|
||||
};
|
||||
};
|
||||
|
||||
config = lib.mkIf config.system.video.nouveau.enable {
|
||||
services.xserver.videoDrivers = [ "nouveau" ];
|
||||
boot.kernelParams = [ "nouveau.config=NvGspRm=1" ];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue