Merge pull request #17470 from layus/synaptics-conflict

Warn for conflict between synaptics and libinput
This commit is contained in:
Joachim F 2016-08-05 19:26:07 +02:00 committed by GitHub
commit f044035a9e
2 changed files with 15 additions and 0 deletions

View File

@ -227,6 +227,14 @@ in {
EndSection
'';
assertions = [
# already present in synaptics.nix
/* {
assertion = !config.services.xserver.synaptics.enable;
message = "Synaptics and libinput are incompatible, you cannot enable both (in services.xserver).";
} */
];
};
}

View File

@ -205,6 +205,13 @@ in {
EndSection
'';
assertions = [
{
assertion = !config.services.xserver.libinput.enable;
message = "Synaptics and libinput are incompatible, you cannot enable both (in services.xserver).";
}
];
};
}