refactor(locale,form): enable libinput globally

This commit is contained in:
Infinidoge 2022-07-04 23:28:38 -04:00
parent de14ed9a52
commit dd5cbd0ac4
2 changed files with 4 additions and 6 deletions

View file

@ -30,12 +30,9 @@ in
}; };
services = { services = {
xserver.libinput = { xserver.libinput.touchpad = {
enable = true; clickMethod = "clickfinger";
touchpad = { naturalScrolling = true;
clickMethod = "clickfinger";
naturalScrolling = true;
};
}; };
logind.lidSwitch = mkDefault "ignore"; logind.lidSwitch = mkDefault "ignore";

View file

@ -22,6 +22,7 @@ in
services.xserver = { services.xserver = {
layout = mkDefault cfg.keymap; layout = mkDefault cfg.keymap;
xkbOptions = "compose:ralt"; xkbOptions = "compose:ralt";
libinput.enable = true;
}; };
i18n.defaultLocale = cfg.locale; i18n.defaultLocale = cfg.locale;