refactor(locale,form): enable libinput globally
This commit is contained in:
parent
de14ed9a52
commit
dd5cbd0ac4
2 changed files with 4 additions and 6 deletions
|
@ -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";
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue