From f10ce0a60310f1e0554015adf70ccffb1dd42360 Mon Sep 17 00:00:00 2001 From: cnst Date: Thu, 18 Jul 2024 19:35:30 +0200 Subject: [PATCH] changes to toothpc nvidia settings + calscript update --- nixos/hardware/toothpc.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/nixos/hardware/toothpc.nix b/nixos/hardware/toothpc.nix index 2fd43ef7..8aa3e392 100644 --- a/nixos/hardware/toothpc.nix +++ b/nixos/hardware/toothpc.nix @@ -1,4 +1,8 @@ -{pkgs, ...}: { +{ + pkgs, + config, + ... +}: { zramSwap.enable = true; hardware = { @@ -17,9 +21,13 @@ libva vaapiVdpau libvdpau-va-gl + intel-media-driver + nvidia-vaapi-driver ]; }; nvidia = { + package = config.boot.kernelPackages.nvidiaPackages.beta; + # package = config.boot.kernelPackages.nvidiaPackages.stable; modesetting.enable = true; powerManagement = { enable = false;