From 13418a039b89992f6d1abd2d5c2e25769f24c846 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Fri, 14 Jul 2023 12:35:43 +0300 Subject: [PATCH] add intel --- hosts/sakotop/configuration.nix | 2 ++ modules/hardware/nvidia/default.nix | 1 + 2 files changed, 3 insertions(+) diff --git a/hosts/sakotop/configuration.nix b/hosts/sakotop/configuration.nix index 87cc13ea..3148a731 100644 --- a/hosts/sakotop/configuration.nix +++ b/hosts/sakotop/configuration.nix @@ -90,6 +90,8 @@ ]; }; + services.xserver.videoDrivers = [ "intel" "nvidia" ]; + # garbage collection nix.gc = { automatic = true; diff --git a/modules/hardware/nvidia/default.nix b/modules/hardware/nvidia/default.nix index 285248b4..f2194ce3 100644 --- a/modules/hardware/nvidia/default.nix +++ b/modules/hardware/nvidia/default.nix @@ -15,6 +15,7 @@ in driSupport32Bit = true; }; + # TODO(sako) make this an option services.xserver.videoDrivers = [ "nvidia" ]; hardware.nvidia = {