1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-11 07:10:39 +02:00

feat: enable picom

This commit is contained in:
oddlama 2023-10-01 13:45:40 +02:00
parent 53cc006138
commit 61af9f62a5
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
5 changed files with 281 additions and 334 deletions

View file

@ -6,7 +6,14 @@
}:
lib.optionalAttrs (!minimal) {
boot.blacklistedKernelModules = ["nouveau"];
services.xserver.videoDrivers = lib.mkForce ["nvidia"];
services.xserver = {
videoDrivers = lib.mkForce ["nvidia"];
screenSection = ''
Option "metamodes" "nvidia-auto-select +0+0 {ForceFullCompositionPipeline=On}"
Option "AllowIndirectGLXProtocol" "off"
Option "TripleBuffer" "on"
'';
};
hardware = {
nvidia = {