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 = {