Refactor libinput service

This commit is contained in:
♥ Minnie ♥ 2024-07-26 09:08:32 +08:00
parent e2deffa0ba
commit ed06f7e925
Signed by: jasmine
GPG key ID: 8563E358D4E8040E
3 changed files with 12 additions and 6 deletions

View file

@ -58,13 +58,7 @@
}; };
services = { services = {
libinput = {
enable = true;
mouse = { accelProfile = "flat"; };
};
# Enable a few other services. # Enable a few other services.
ratbagd.enable = true;
pcscd.enable = true; pcscd.enable = true;
}; };

View file

@ -4,6 +4,7 @@
imports = [ imports = [
./amdgpu-clocks.nix ./amdgpu-clocks.nix
./flatpak.nix ./flatpak.nix
./libinput.nix
./ollama.nix ./ollama.nix
./udev.nix ./udev.nix
./xserver.nix ./xserver.nix

View file

@ -0,0 +1,11 @@
{ ... }:
{
services.libinput = {
enable = true;
mouse = { accelProfile = "flat"; };
};
# DBus daemon to configure input devices.
services.ratbagd.enable = true;
}