Commit b451cc76 authored by K900's avatar K900
Browse files

nixos/libinput: only enable when X11 is enabled

parent 8d25ab1f
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -261,7 +261,8 @@ in {

    services.xserver.libinput = {
      enable = mkEnableOption (lib.mdDoc "libinput") // {
        default = true;
        default = config.services.xserver.enable;
        defaultText = lib.literalExpression "config.services.xserver.enable";
      };
      mouse = mkConfigForDevice "mouse";
      touchpad = mkConfigForDevice "touchpad";