Skip to content
Unverified Commit 7658c90f authored by Alyssa Ross's avatar Alyssa Ross
Browse files

nixos/xserver: improve DM error message when X off

Previously, if you, for example, set
services.xserver.displayManager.sddm.enable, but forgot to set
services.xserver.enable, you would get an error message that looked like
this:

    error: attribute 'display-manager' missing

Which was not particularly helpful.

Using assertions, we can make this message much better.
parent 753e1e0b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment