From ef38cbc0526b60348a98cb03a196e8651fe46ff1 Mon Sep 17 00:00:00 2001 From: twoneis Date: Mon, 10 Jun 2024 00:54:23 +0200 Subject: [PATCH] idk why it still won't work --- devices/inkvine/default.nix | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/devices/inkvine/default.nix b/devices/inkvine/default.nix index b764956..a8849cd 100644 --- a/devices/inkvine/default.nix +++ b/devices/inkvine/default.nix @@ -3,7 +3,10 @@ ./options.nix ]; - nixpkgs.hostPlatform = "x86_64-linux"; + nixpkgs = { + hostPlatform = "x86_64-linux"; + config.nvidia.acceptLicense = true; + }; networking = { hostName = "inkvine"; @@ -52,7 +55,11 @@ services = { thermald.enable = true; upower.enable = true; - xserver.videoDrivers = ["nvidia"]; + xserver = { + enable = true; + displayManager.gdm.enable = true; + videoDrivers = ["nvidia"]; + }; }; hardware = { @@ -62,7 +69,6 @@ nvidia = { modesetting.enable = true; - nvidiaSettings = false; package = config.boot.kernelPackages.nvidiaPackages.legacy_470; prime = {