1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 04:02:10 +00:00

Warn for conflict between synaptics and libinput

This commit is contained in:
Guillaume Maudoux 2016-08-03 08:15:18 +02:00
parent 3875690d80
commit 0f0be5e498
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).";
}
];
};
}