moved nvidia drivers to host configuration

This commit is contained in:
Moritz Böhme 2021-10-03 12:29:45 +02:00
parent 473d14d921
commit e8ec62c608
2 changed files with 11 additions and 21 deletions

View file

@ -5,11 +5,10 @@
{ config, pkgs, ... }:
{
imports =
[
# Include the results of the hardware scan.
./hardware-configuration.nix
];
imports = [
# Include the results of the hardware scan.
./hardware-configuration.nix
];
# BOOT
boot = {
@ -36,6 +35,8 @@
interfaces.enp42s0.useDHCP = true;
};
services.xserver.videoDrivers = [ "nvidia" ];
# Powersaving
services.tlp.enable = true;
powerManagement.enable = true;