adapt xserver options

This commit is contained in:
Antoine Martin 2024-05-30 01:45:57 +02:00
parent 0438a91039
commit 3225652d57

View file

@ -34,15 +34,18 @@ in {
if config.my.gui.isNvidia if config.my.gui.isNvidia
then ["nvidia"] then ["nvidia"]
else options.services.xserver.videoDrivers.default; else options.services.xserver.videoDrivers.default;
xkb = {
layout = "fr"; layout = "fr";
xkbVariant = "us"; variant = "us";
};
};
libinput = { libinput = {
enable = true; enable = true;
touchpad = { touchpad = {
naturalScrolling = true; naturalScrolling = true;
}; };
}; };
};
logind.lidSwitch = "ignore"; logind.lidSwitch = "ignore";