From 1fcf0e73c029e5ea5ba14671c586950ace143d0d Mon Sep 17 00:00:00 2001 From: Crony Akatsuki Date: Mon, 2 Mar 2026 19:53:29 +0100 Subject: [PATCH] feat: setup nvidia drivvers. --- hosts/gentoo/home.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/hosts/gentoo/home.nix b/hosts/gentoo/home.nix index 4d2f9d5..a4852c2 100644 --- a/hosts/gentoo/home.nix +++ b/hosts/gentoo/home.nix @@ -34,5 +34,17 @@ homeFlake = "/home/crony/repos/nix-conf"; }; + targets.genericLinux = { + enable = true; + gpu.nvidia = { + enable = true; + version = "590.48.01"; + sha256 = "sha256-ueL4BpN4FDHMh/TNKRCeEz3Oy1ClDWto1LO/LWlr1ok="; + }; + }; + + nixpkgs.config.allowUnfree = true; + nixpkgs.config.nvidia.acceptLicense = true; + home.stateVersion = "25.11"; # Please read the comment before changing. }