nixos/cmt: Update error message for cmt

Added clearer error message for the failed assertion with libinput

Changed files
+6 -1
nixos
modules
services
x11
hardware
+6 -1
nixos/modules/services/x11/hardware/cmt.nix
···
assertions = [
{
assertion = !config.services.xserver.libinput.enable;
-
message = "cmt and libinput are incompatible, you cannot enable both (in services.xserver).";
+
message = ''
+
cmt and libinput are incompatible, meaning you cannot enable them both.
+
To use cmt you need to disable libinput with `services.xserver.libinput.enable = false`
+
If you haven't enabled it in configuration.nix, it's enabled by default on a
+
different xserver module.
+
'';
}
];
};