nixos/cmt: Update error message for cmt

Added clearer error message for the failed assertion with libinput
This commit is contained in:
Calvin Kim 2019-10-01 19:43:27 +09:00
parent 3e311c8868
commit a96a5f37d2

View File

@ -47,7 +47,12 @@ in {
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.
'';
}
];
};