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
Please register or sign in to comment