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,13 +30,10 @@ in
}; };
services = { services = {
xserver.libinput = { xserver.libinput.touchpad = {
enable = true;
touchpad = {
clickMethod = "clickfinger"; clickMethod = "clickfinger";
naturalScrolling = true; 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;