nix-configurations/hosts/m3-nix/services/xserver.nix

20 lines
605 B
Nix
Raw Normal View History

2023-04-06 15:12:19 +00:00
{ pkgs, ... }: {
2023-04-09 09:12:23 +00:00
services.xserver.videoDrivers = [ "nvidia" ];
# services.xserver = {
# enable = true;
# videoDrivers = [ "nvidia" ];
# displayManager = {
# defaultSession = "hyprland";
# sddm = { enable = true; };
# };
# libinput.enable = true; # touchpad support
# layout = "de";
# xkbOptions = "ctrl:nocaps";
# };
# services.xserver.screenSection = ''
# Option "metamodes" "nvidia-auto-select +0+0 {ForceFullCompositionPipeline=On}"
# Option "AllowIndirectGLXProtocol" "off"
# Option "TripleBuffer" "on"
# '';
2022-12-31 12:07:15 +00:00
}