diff options
| author | sinanmohd <sinan@sinanmohd.com> | 2025-12-05 09:38:13 +0530 |
|---|---|---|
| committer | sinan@sinanmohd.com <sinan@sinanmohd.com> | 2025-12-06 13:40:30 +0530 |
| commit | 3dc8bee3cb3a472dcf8d3990a6623327ac75d985 (patch) | |
| tree | 25146bea88b88f95ab1b0c13b2c7f7e0456ddba4 /os/cez/hardware-configuration.nix | |
| parent | 7cf4cc6ae6b68cb206a65221b4ac9b4a3ea2e583 (diff) | |
feat(cez/specialisation/heater): init
Diffstat (limited to 'os/cez/hardware-configuration.nix')
| -rw-r--r-- | os/cez/hardware-configuration.nix | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/os/cez/hardware-configuration.nix b/os/cez/hardware-configuration.nix index 39dc3a6..da9ed90 100644 --- a/os/cez/hardware-configuration.nix +++ b/os/cez/hardware-configuration.nix @@ -46,29 +46,4 @@ fsType = "ext4"; }; }; - - specialisation.nvidia.configuration = { - boot = { - kernelParams = [ "transparent_hugepage=always" ]; - kernel.sysctl."vm.max_map_count" = 2147483642; - }; - - environment.variables = { - DRI_PRIME = 1; - __NV_PRIME_RENDER_OFFLOAD = 1; - __VK_LAYER_NV_optimus = "NVIDIA_only"; - __GLX_VENDOR_LIBRARY_NAME = "nvidia"; - }; - - hardware.nvidia = { - open = true; - nvidiaSettings = false; - prime.sync.enable = true; - }; - - services = { - xserver.videoDrivers = [ "nvidia" ]; - tlp.settings.PLATFORM_PROFILE_ON_AC = lib.mkForce "performance"; - }; - }; } |
