From d83be853fcb12372d64ad87db4d44302ee1d0181 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Thu, 30 May 2024 01:45:57 +0200 Subject: [PATCH] adapt xserver options --- base/gui-programs.nix | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/base/gui-programs.nix b/base/gui-programs.nix index e592fbf..7431a12 100644 --- a/base/gui-programs.nix +++ b/base/gui-programs.nix @@ -34,13 +34,16 @@ in { if config.my.gui.isNvidia then ["nvidia"] else options.services.xserver.videoDrivers.default; - layout = "fr"; - xkbVariant = "us"; - libinput = { - enable = true; - touchpad = { - naturalScrolling = true; - }; + xkb = { + layout = "fr"; + variant = "us"; + }; + }; + + libinput = { + enable = true; + touchpad = { + naturalScrolling = true; }; };