nixos/cmt: Update error message for cmt
Added clearer error message for the failed assertion with libinput
This commit is contained in:
parent
3e311c8868
commit
a96a5f37d2
|
@ -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.
|
||||
'';
|
||||
}
|
||||
];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue