Unverified Commit 944fa96e authored by K900's avatar K900 Committed by GitHub
Browse files

Merge pull request #232598 from K900/libinput-minimal

nixos/libinput: only enable when X11 is enabled
parents 8a76d0d3 b451cc76
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";