From 920602e0fe3f768eb5443baf5de70a96c3f51347 Mon Sep 17 00:00:00 2001 From: Dave Gallant Date: Sat, 2 Jul 2022 13:28:02 -0400 Subject: [PATCH] Update nvidia settings --- common/desktop.nix | 6 +++--- machines/hephaestus/configuration.nix | 5 +++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/common/desktop.nix b/common/desktop.nix index 372172a..664af3e 100644 --- a/common/desktop.nix +++ b/common/desktop.nix @@ -3,11 +3,11 @@ enable = true; displayManager = { lightdm = { - enable = false; + enable = true; }; gdm = { - enable = true; - wayland = false; + enable = false; + wayland = true; }; }; desktopManager = { diff --git a/machines/hephaestus/configuration.nix b/machines/hephaestus/configuration.nix index c716647..be5c28d 100644 --- a/machines/hephaestus/configuration.nix +++ b/machines/hephaestus/configuration.nix @@ -9,8 +9,7 @@ boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; - hardware.nvidia.modesetting.enable = true; - hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.stable; + hardware.opengl.enable = true; networking = { hostName = "hephaestus"; @@ -32,7 +31,9 @@ }; services.sshd.enable = true; + services.tailscale = {enable = true;}; + services.xserver = { videoDrivers = ["nvidia"]; deviceSection = ''