Skip to content

Commit

Permalink
Merge pull request NixOS#70166 from kcalvinalvin/plasma-cmt-fix
Browse files Browse the repository at this point in the history
nixos/cmt: Update error message for cmt
  • Loading branch information
worldofpeace committed Oct 1, 2019
2 parents 81a16d6 + a96a5f3 commit 4b7cac9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion nixos/modules/services/x11/hardware/cmt.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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.
'';
}
];
};
Expand Down

0 comments on commit 4b7cac9

Please sign in to comment.