2014-04-29 14:16:34 +02:00
|
|
|
|
# This module provides the proprietary NVIDIA X11 / OpenGL drivers.
|
|
|
|
|
|
2019-06-16 21:59:06 +02:00
|
|
|
|
{ config, lib, pkgs, ... }:
|
2014-04-29 14:16:34 +02:00
|
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
|
|
let
|
|
|
|
|
|
|
|
|
|
drivers = config.services.xserver.videoDrivers;
|
|
|
|
|
|
|
|
|
|
# FIXME: should introduce an option like
|
|
|
|
|
# ‘hardware.video.nvidia.package’ for overriding the default NVIDIA
|
|
|
|
|
# driver.
|
2015-02-21 16:29:36 +01:00
|
|
|
|
nvidiaForKernel = kernelPackages:
|
2014-04-29 14:16:34 +02:00
|
|
|
|
if elem "nvidia" drivers then
|
2015-04-04 06:53:34 +02:00
|
|
|
|
kernelPackages.nvidia_x11
|
2016-03-07 23:25:59 +01:00
|
|
|
|
else if elem "nvidiaBeta" drivers then
|
|
|
|
|
kernelPackages.nvidia_x11_beta
|
2020-09-24 16:53:05 +02:00
|
|
|
|
else if elem "nvidiaVulkanBeta" drivers then
|
|
|
|
|
kernelPackages.nvidia_x11_vulkan_beta
|
2014-05-13 18:35:57 +02:00
|
|
|
|
else if elem "nvidiaLegacy304" drivers then
|
2015-02-21 16:29:36 +01:00
|
|
|
|
kernelPackages.nvidia_x11_legacy304
|
2014-11-24 22:34:00 +01:00
|
|
|
|
else if elem "nvidiaLegacy340" drivers then
|
2015-02-21 16:29:36 +01:00
|
|
|
|
kernelPackages.nvidia_x11_legacy340
|
2018-11-30 19:50:47 +01:00
|
|
|
|
else if elem "nvidiaLegacy390" drivers then
|
|
|
|
|
kernelPackages.nvidia_x11_legacy390
|
2015-02-21 16:29:36 +01:00
|
|
|
|
else null;
|
|
|
|
|
|
|
|
|
|
nvidia_x11 = nvidiaForKernel config.boot.kernelPackages;
|
2018-08-11 17:32:00 +02:00
|
|
|
|
nvidia_libs32 =
|
|
|
|
|
if versionOlder nvidia_x11.version "391" then
|
2018-11-03 06:55:57 +01:00
|
|
|
|
((nvidiaForKernel pkgs.pkgsi686Linux.linuxPackages).override { libsOnly = true; kernel = null; }).out
|
2018-08-11 17:32:00 +02:00
|
|
|
|
else
|
|
|
|
|
(nvidiaForKernel config.boot.kernelPackages).lib32;
|
2014-04-29 14:16:34 +02:00
|
|
|
|
|
2015-02-21 16:29:36 +01:00
|
|
|
|
enabled = nvidia_x11 != null;
|
2018-06-30 09:33:45 +02:00
|
|
|
|
|
|
|
|
|
cfg = config.hardware.nvidia;
|
2020-03-09 09:47:57 +01:00
|
|
|
|
|
2019-08-14 14:18:28 +02:00
|
|
|
|
pCfg = cfg.prime;
|
|
|
|
|
syncCfg = pCfg.sync;
|
2019-08-14 18:41:15 +02:00
|
|
|
|
offloadCfg = pCfg.offload;
|
|
|
|
|
primeEnabled = syncCfg.enable || offloadCfg.enable;
|
2020-03-09 09:47:57 +01:00
|
|
|
|
nvidiaPersistencedEnabled = cfg.nvidiaPersistenced;
|
2014-04-29 14:16:34 +02:00
|
|
|
|
in
|
|
|
|
|
|
|
|
|
|
{
|
2019-08-14 14:15:43 +02:00
|
|
|
|
imports =
|
|
|
|
|
[
|
|
|
|
|
(mkRenamedOptionModule [ "hardware" "nvidia" "optimus_prime" "enable" ] [ "hardware" "nvidia" "prime" "sync" "enable" ])
|
|
|
|
|
(mkRenamedOptionModule [ "hardware" "nvidia" "optimus_prime" "allowExternalGpu" ] [ "hardware" "nvidia" "prime" "sync" "allowExternalGpu" ])
|
2019-08-14 14:18:28 +02:00
|
|
|
|
(mkRenamedOptionModule [ "hardware" "nvidia" "optimus_prime" "nvidiaBusId" ] [ "hardware" "nvidia" "prime" "nvidiaBusId" ])
|
|
|
|
|
(mkRenamedOptionModule [ "hardware" "nvidia" "optimus_prime" "intelBusId" ] [ "hardware" "nvidia" "prime" "intelBusId" ])
|
2019-08-14 14:15:43 +02:00
|
|
|
|
];
|
|
|
|
|
|
2018-06-30 09:33:45 +02:00
|
|
|
|
options = {
|
2019-11-16 20:27:16 +01:00
|
|
|
|
hardware.nvidia.powerManagement.enable = mkOption {
|
|
|
|
|
type = types.bool;
|
|
|
|
|
default = false;
|
|
|
|
|
description = ''
|
|
|
|
|
Experimental power management through systemd. For more information, see
|
|
|
|
|
the NVIDIA docs, on Chapter 21. Configuring Power Management Support.
|
|
|
|
|
'';
|
|
|
|
|
};
|
|
|
|
|
|
2019-08-14 04:39:26 +02:00
|
|
|
|
hardware.nvidia.modesetting.enable = mkOption {
|
|
|
|
|
type = types.bool;
|
2018-06-30 09:33:45 +02:00
|
|
|
|
default = false;
|
|
|
|
|
description = ''
|
|
|
|
|
Enable kernel modesetting when using the NVIDIA proprietary driver.
|
|
|
|
|
|
|
|
|
|
Enabling this fixes screen tearing when using Optimus via PRIME (see
|
2019-08-14 14:15:43 +02:00
|
|
|
|
<option>hardware.nvidia.prime.sync.enable</option>. This is not enabled
|
2018-06-30 09:33:45 +02:00
|
|
|
|
by default because it is not officially supported by NVIDIA and would not
|
|
|
|
|
work with SLI.
|
|
|
|
|
'';
|
|
|
|
|
};
|
|
|
|
|
|
2019-08-14 14:18:28 +02:00
|
|
|
|
hardware.nvidia.prime.nvidiaBusId = mkOption {
|
|
|
|
|
type = types.str;
|
|
|
|
|
default = "";
|
|
|
|
|
example = "PCI:1:0:0";
|
|
|
|
|
description = ''
|
|
|
|
|
Bus ID of the NVIDIA GPU. You can find it using lspci; for example if lspci
|
|
|
|
|
shows the NVIDIA GPU at "01:00.0", set this option to "PCI:1:0:0".
|
|
|
|
|
'';
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
hardware.nvidia.prime.intelBusId = mkOption {
|
|
|
|
|
type = types.str;
|
|
|
|
|
default = "";
|
|
|
|
|
example = "PCI:0:2:0";
|
|
|
|
|
description = ''
|
|
|
|
|
Bus ID of the Intel GPU. You can find it using lspci; for example if lspci
|
|
|
|
|
shows the Intel GPU at "00:02.0", set this option to "PCI:0:2:0".
|
|
|
|
|
'';
|
|
|
|
|
};
|
|
|
|
|
|
2019-08-14 14:15:43 +02:00
|
|
|
|
hardware.nvidia.prime.sync.enable = mkOption {
|
2019-08-14 04:39:26 +02:00
|
|
|
|
type = types.bool;
|
2018-06-30 09:33:45 +02:00
|
|
|
|
default = false;
|
|
|
|
|
description = ''
|
|
|
|
|
Enable NVIDIA Optimus support using the NVIDIA proprietary driver via PRIME.
|
|
|
|
|
If enabled, the NVIDIA GPU will be always on and used for all rendering,
|
|
|
|
|
while enabling output to displays attached only to the integrated Intel GPU
|
|
|
|
|
without a multiplexer.
|
|
|
|
|
|
|
|
|
|
Note that this option only has any effect if the "nvidia" driver is specified
|
|
|
|
|
in <option>services.xserver.videoDrivers</option>, and it should preferably
|
|
|
|
|
be the only driver there.
|
|
|
|
|
|
|
|
|
|
If this is enabled, then the bus IDs of the NVIDIA and Intel GPUs have to be
|
2019-08-14 14:18:28 +02:00
|
|
|
|
specified (<option>hardware.nvidia.prime.nvidiaBusId</option> and
|
|
|
|
|
<option>hardware.nvidia.prime.intelBusId</option>).
|
2018-06-30 09:33:45 +02:00
|
|
|
|
|
|
|
|
|
If you enable this, you may want to also enable kernel modesetting for the
|
|
|
|
|
NVIDIA driver (<option>hardware.nvidia.modesetting.enable</option>) in order
|
|
|
|
|
to prevent tearing.
|
|
|
|
|
|
|
|
|
|
Note that this configuration will only be successful when a display manager
|
|
|
|
|
for which the <option>services.xserver.displayManager.setupCommands</option>
|
2019-11-11 22:18:23 +01:00
|
|
|
|
option is supported is used.
|
2018-06-30 09:33:45 +02:00
|
|
|
|
'';
|
|
|
|
|
};
|
|
|
|
|
|
2019-08-14 14:15:43 +02:00
|
|
|
|
hardware.nvidia.prime.sync.allowExternalGpu = mkOption {
|
2019-08-14 04:39:26 +02:00
|
|
|
|
type = types.bool;
|
2019-04-19 00:51:35 +02:00
|
|
|
|
default = false;
|
|
|
|
|
description = ''
|
|
|
|
|
Configure X to allow external NVIDIA GPUs when using optimus.
|
|
|
|
|
'';
|
|
|
|
|
};
|
|
|
|
|
|
2019-08-14 18:41:15 +02:00
|
|
|
|
hardware.nvidia.prime.offload.enable = mkOption {
|
|
|
|
|
type = types.bool;
|
|
|
|
|
default = false;
|
2018-06-30 09:33:45 +02:00
|
|
|
|
description = ''
|
2019-08-14 18:41:15 +02:00
|
|
|
|
Enable render offload support using the NVIDIA proprietary driver via PRIME.
|
2018-06-30 09:33:45 +02:00
|
|
|
|
|
2019-08-14 18:41:15 +02:00
|
|
|
|
If this is enabled, then the bus IDs of the NVIDIA and Intel GPUs have to be
|
|
|
|
|
specified (<option>hardware.nvidia.prime.nvidiaBusId</option> and
|
|
|
|
|
<option>hardware.nvidia.prime.intelBusId</option>).
|
2018-06-30 09:33:45 +02:00
|
|
|
|
'';
|
|
|
|
|
};
|
2020-03-09 09:47:57 +01:00
|
|
|
|
|
|
|
|
|
hardware.nvidia.nvidiaPersistenced = mkOption {
|
|
|
|
|
default = false;
|
|
|
|
|
type = types.bool;
|
|
|
|
|
description = ''
|
|
|
|
|
Update for NVIDA GPU headless mode, i.e. nvidia-persistenced. It ensures all
|
|
|
|
|
GPUs stay awake even during headless mode.
|
|
|
|
|
'';
|
|
|
|
|
};
|
2018-06-30 09:33:45 +02:00
|
|
|
|
};
|
2014-04-29 14:16:34 +02:00
|
|
|
|
|
|
|
|
|
config = mkIf enabled {
|
2017-05-07 22:27:02 +02:00
|
|
|
|
assertions = [
|
2019-10-03 02:07:19 +02:00
|
|
|
|
{
|
|
|
|
|
assertion = with config.services.xserver.displayManager; gdm.nvidiaWayland -> cfg.modesetting.enable;
|
|
|
|
|
message = "You cannot use wayland with GDM without modesetting enabled for NVIDIA drivers, set `hardware.nvidia.modesetting.enable = true`";
|
|
|
|
|
}
|
|
|
|
|
|
2018-06-30 09:33:45 +02:00
|
|
|
|
{
|
2019-08-14 18:41:15 +02:00
|
|
|
|
assertion = primeEnabled -> pCfg.nvidiaBusId != "" && pCfg.intelBusId != "";
|
2018-06-30 09:33:45 +02:00
|
|
|
|
message = ''
|
2019-08-14 18:41:15 +02:00
|
|
|
|
When NVIDIA PRIME is enabled, the GPU bus IDs must configured.
|
2018-06-30 09:33:45 +02:00
|
|
|
|
'';
|
|
|
|
|
}
|
2019-08-14 18:41:15 +02:00
|
|
|
|
{
|
|
|
|
|
assertion = offloadCfg.enable -> versionAtLeast nvidia_x11.version "435.21";
|
|
|
|
|
message = "NVIDIA PRIME render offload is currently only supported on versions >= 435.21.";
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
assertion = !(syncCfg.enable && offloadCfg.enable);
|
|
|
|
|
message = "Only one NVIDIA PRIME solution may be used at a time.";
|
|
|
|
|
}
|
2017-05-07 22:27:02 +02:00
|
|
|
|
];
|
2014-04-29 14:16:34 +02:00
|
|
|
|
|
2018-06-30 09:33:45 +02:00
|
|
|
|
# If Optimus/PRIME is enabled, we:
|
|
|
|
|
# - Specify the configured NVIDIA GPU bus ID in the Device section for the
|
|
|
|
|
# "nvidia" driver.
|
|
|
|
|
# - Add the AllowEmptyInitialConfiguration option to the Screen section for the
|
|
|
|
|
# "nvidia" driver, in order to allow the X server to start without any outputs.
|
|
|
|
|
# - Add a separate Device section for the Intel GPU, using the "modesetting"
|
|
|
|
|
# driver and with the configured BusID.
|
|
|
|
|
# - Reference that Device section from the ServerLayout section as an inactive
|
|
|
|
|
# device.
|
|
|
|
|
# - Configure the display manager to run specific `xrandr` commands which will
|
|
|
|
|
# configure/enable displays connected to the Intel GPU.
|
|
|
|
|
|
2019-08-14 18:41:15 +02:00
|
|
|
|
services.xserver.useGlamor = mkDefault offloadCfg.enable;
|
|
|
|
|
|
|
|
|
|
services.xserver.drivers = optional primeEnabled {
|
2019-08-14 18:37:03 +02:00
|
|
|
|
name = "modesetting";
|
2019-08-14 18:41:15 +02:00
|
|
|
|
display = offloadCfg.enable;
|
2019-08-14 18:37:03 +02:00
|
|
|
|
deviceSection = ''
|
|
|
|
|
BusID "${pCfg.intelBusId}"
|
2019-08-14 18:41:15 +02:00
|
|
|
|
${optionalString syncCfg.enable ''Option "AccelMethod" "none"''}
|
2019-08-14 18:37:03 +02:00
|
|
|
|
'';
|
|
|
|
|
} ++ singleton {
|
2018-06-30 09:33:45 +02:00
|
|
|
|
name = "nvidia";
|
|
|
|
|
modules = [ nvidia_x11.bin ];
|
2019-08-14 18:41:15 +02:00
|
|
|
|
display = !offloadCfg.enable;
|
|
|
|
|
deviceSection = optionalString primeEnabled
|
2018-06-30 09:33:45 +02:00
|
|
|
|
''
|
2019-08-14 14:18:28 +02:00
|
|
|
|
BusID "${pCfg.nvidiaBusId}"
|
2019-08-14 14:15:43 +02:00
|
|
|
|
${optionalString syncCfg.allowExternalGpu "Option \"AllowExternalGpus\""}
|
2018-06-30 09:33:45 +02:00
|
|
|
|
'';
|
|
|
|
|
screenSection =
|
|
|
|
|
''
|
|
|
|
|
Option "RandRRotation" "on"
|
2019-08-14 14:15:43 +02:00
|
|
|
|
${optionalString syncCfg.enable "Option \"AllowEmptyInitialConfiguration\""}
|
2018-06-30 09:33:45 +02:00
|
|
|
|
'';
|
|
|
|
|
};
|
2014-04-29 14:16:34 +02:00
|
|
|
|
|
2019-08-14 18:37:03 +02:00
|
|
|
|
services.xserver.serverLayoutSection = optionalString syncCfg.enable ''
|
|
|
|
|
Inactive "Device-modesetting[0]"
|
2019-08-14 18:41:15 +02:00
|
|
|
|
'' + optionalString offloadCfg.enable ''
|
|
|
|
|
Option "AllowNVIDIAGPUScreens"
|
2019-08-14 18:37:03 +02:00
|
|
|
|
'';
|
2014-04-29 14:16:34 +02:00
|
|
|
|
|
2019-08-14 14:15:43 +02:00
|
|
|
|
services.xserver.displayManager.setupCommands = optionalString syncCfg.enable ''
|
2018-06-30 09:33:45 +02:00
|
|
|
|
# Added by nvidia configuration module for Optimus/PRIME.
|
|
|
|
|
${pkgs.xorg.xrandr}/bin/xrandr --setprovideroutputsource modesetting NVIDIA-0
|
|
|
|
|
${pkgs.xorg.xrandr}/bin/xrandr --auto
|
|
|
|
|
'';
|
|
|
|
|
|
2017-02-11 15:11:18 +01:00
|
|
|
|
environment.etc."nvidia/nvidia-application-profiles-rc" = mkIf nvidia_x11.useProfiles {
|
|
|
|
|
source = "${nvidia_x11.bin}/share/nvidia/nvidia-application-profiles-rc";
|
|
|
|
|
};
|
|
|
|
|
|
2019-08-14 18:41:15 +02:00
|
|
|
|
hardware.opengl.package = mkIf (!offloadCfg.enable) nvidia_x11.out;
|
|
|
|
|
hardware.opengl.package32 = mkIf (!offloadCfg.enable) nvidia_libs32;
|
|
|
|
|
hardware.opengl.extraPackages = optional offloadCfg.enable nvidia_x11.out;
|
|
|
|
|
hardware.opengl.extraPackages32 = optional offloadCfg.enable nvidia_libs32;
|
2014-04-29 14:16:34 +02:00
|
|
|
|
|
2017-05-30 20:56:34 +02:00
|
|
|
|
environment.systemPackages = [ nvidia_x11.bin nvidia_x11.settings ]
|
2020-10-18 20:42:05 +02:00
|
|
|
|
++ optionals nvidiaPersistencedEnabled [ nvidia_x11.persistenced ];
|
2014-04-29 14:16:34 +02:00
|
|
|
|
|
2019-11-16 20:27:16 +01:00
|
|
|
|
systemd.packages = optional cfg.powerManagement.enable nvidia_x11.out;
|
|
|
|
|
|
|
|
|
|
systemd.services = let
|
|
|
|
|
baseNvidiaService = state: {
|
|
|
|
|
description = "NVIDIA system ${state} actions";
|
|
|
|
|
|
|
|
|
|
path = with pkgs; [ kbd ];
|
|
|
|
|
serviceConfig = {
|
|
|
|
|
Type = "oneshot";
|
|
|
|
|
ExecStart = "${nvidia_x11.out}/bin/nvidia-sleep.sh '${state}'";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
nvidiaService = sleepState: (baseNvidiaService sleepState) // {
|
|
|
|
|
before = [ "systemd-${sleepState}.service" ];
|
|
|
|
|
requiredBy = [ "systemd-${sleepState}.service" ];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
services = (builtins.listToAttrs (map (t: nameValuePair "nvidia-${t}" (nvidiaService t)) ["hibernate" "suspend"]))
|
|
|
|
|
// {
|
|
|
|
|
nvidia-resume = (baseNvidiaService "resume") // {
|
|
|
|
|
after = [ "systemd-suspend.service" "systemd-hibernate.service" ];
|
|
|
|
|
requiredBy = [ "systemd-suspend.service" "systemd-hibernate.service" ];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
in optionalAttrs cfg.powerManagement.enable services
|
|
|
|
|
// optionalAttrs nvidiaPersistencedEnabled {
|
|
|
|
|
"nvidia-persistenced" = mkIf nvidiaPersistencedEnabled {
|
|
|
|
|
description = "NVIDIA Persistence Daemon";
|
|
|
|
|
wantedBy = [ "multi-user.target" ];
|
|
|
|
|
serviceConfig = {
|
|
|
|
|
Type = "forking";
|
|
|
|
|
Restart = "always";
|
|
|
|
|
PIDFile = "/var/run/nvidia-persistenced/nvidia-persistenced.pid";
|
|
|
|
|
ExecStart = "${nvidia_x11.persistenced}/bin/nvidia-persistenced --verbose";
|
|
|
|
|
ExecStopPost = "${pkgs.coreutils}/bin/rm -rf /var/run/nvidia-persistenced";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2019-02-27 09:44:37 +01:00
|
|
|
|
systemd.tmpfiles.rules = optional config.virtualisation.docker.enableNvidia
|
|
|
|
|
"L+ /run/nvidia-docker/bin - - - - ${nvidia_x11.bin}/origBin"
|
|
|
|
|
++ optional (nvidia_x11.persistenced != null && config.virtualisation.docker.enableNvidia)
|
|
|
|
|
"L+ /run/nvidia-docker/extras/bin/nvidia-persistenced - - - - ${nvidia_x11.persistenced}/origBin/nvidia-persistenced";
|
|
|
|
|
|
2017-01-29 22:29:39 +01:00
|
|
|
|
boot.extraModulePackages = [ nvidia_x11.bin ];
|
2014-04-29 14:16:34 +02:00
|
|
|
|
|
2015-03-03 20:15:38 +01:00
|
|
|
|
# nvidia-uvm is required by CUDA applications.
|
2017-05-07 21:37:56 +02:00
|
|
|
|
boot.kernelModules = [ "nvidia-uvm" ] ++
|
2019-08-14 04:39:26 +02:00
|
|
|
|
optionals config.services.xserver.enable [ "nvidia" "nvidia_modeset" "nvidia_drm" ];
|
2017-05-07 21:37:56 +02:00
|
|
|
|
|
2018-06-30 09:33:45 +02:00
|
|
|
|
# If requested enable modesetting via kernel parameter.
|
2019-11-16 20:27:16 +01:00
|
|
|
|
boot.kernelParams = optional (offloadCfg.enable || cfg.modesetting.enable) "nvidia-drm.modeset=1"
|
|
|
|
|
++ optional cfg.powerManagement.enable "nvidia.NVreg_PreserveVideoMemoryAllocations=1";
|
2015-03-03 20:15:38 +01:00
|
|
|
|
|
|
|
|
|
# Create /dev/nvidia-uvm when the nvidia-uvm module is loaded.
|
|
|
|
|
services.udev.extraRules =
|
|
|
|
|
''
|
2019-12-26 18:52:03 +01:00
|
|
|
|
KERNEL=="nvidia", RUN+="${pkgs.runtimeShell} -c 'mknod -m 666 /dev/nvidiactl c $$(grep nvidia-frontend /proc/devices | cut -d \ -f 1) 255'"
|
|
|
|
|
KERNEL=="nvidia_modeset", RUN+="${pkgs.runtimeShell} -c 'mknod -m 666 /dev/nvidia-modeset c $$(grep nvidia-frontend /proc/devices | cut -d \ -f 1) 254'"
|
|
|
|
|
KERNEL=="card*", SUBSYSTEM=="drm", DRIVERS=="nvidia", RUN+="${pkgs.runtimeShell} -c 'mknod -m 666 /dev/nvidia%n c $$(grep nvidia-frontend /proc/devices | cut -d \ -f 1) %n'"
|
|
|
|
|
KERNEL=="nvidia_uvm", RUN+="${pkgs.runtimeShell} -c 'mknod -m 666 /dev/nvidia-uvm c $$(grep nvidia-uvm /proc/devices | cut -d \ -f 1) 0'"
|
2019-12-30 19:15:10 +01:00
|
|
|
|
KERNEL=="nvidia_uvm", RUN+="${pkgs.runtimeShell} -c 'mknod -m 666 /dev/nvidia-uvm-tools c $$(grep nvidia-uvm /proc/devices | cut -d \ -f 1) 0'"
|
2015-03-03 20:15:38 +01:00
|
|
|
|
'';
|
|
|
|
|
|
2014-04-29 14:16:34 +02:00
|
|
|
|
boot.blacklistedKernelModules = [ "nouveau" "nvidiafb" ];
|
|
|
|
|
|
|
|
|
|
services.acpid.enable = true;
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
}
|