From e167da333ed19e49e3786a9b1b350cf5c5e0291b Mon Sep 17 00:00:00 2001 From: Nickiel12 Date: Fri, 9 Aug 2024 00:03:50 +0000 Subject: [PATCH] added windows default graphics; update name --- hosts/WSL/default.nix | 2 ++ hosts/desktop/default.nix | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/hosts/WSL/default.nix b/hosts/WSL/default.nix index a0530c4..1d927dd 100644 --- a/hosts/WSL/default.nix +++ b/hosts/WSL/default.nix @@ -15,6 +15,8 @@ xkcd-font ]; + wsl.useWindowsDriver = true; + nixpkgs.config.allowUnfree = true; nix = { gc = { diff --git a/hosts/desktop/default.nix b/hosts/desktop/default.nix index 7d54c82..bd08bac 100644 --- a/hosts/desktop/default.nix +++ b/hosts/desktop/default.nix @@ -41,7 +41,7 @@ Option "metamodes" "DP-4: 2560x1440 +1920+0, DP-2: 1920x1080 +0+360" ''; }; - hardware.opengl.enable = true; + hardware.graphics.enable = true; # Optionally, you may need to select the appropriate driver version for your specific GPU. hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.stable;