Browse Source

nixos/cmt: Update error message for cmt

Added clearer error message for the failed assertion with libinput
openssl
Calvin Kim 3 years ago
parent
commit
a96a5f37d2
  1. 7
      nixos/modules/services/x11/hardware/cmt.nix

7
nixos/modules/services/x11/hardware/cmt.nix

@ -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…
Cancel
Save