nixos/xserver: Use null as default for dpi option

Commit 98d9bba introduced this option as a nullOr type and it actually
checks whether null has been set and only appends -dpi if that's the
case. So let's actually set the default to null instead of 0.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
aszlig 2016-04-10 17:46:17 +02:00
parent 9a55b76db1
commit c1178f171c
No known key found for this signature in database
GPG Key ID: D0EBD0EC8C2DC961

@ -221,7 +221,7 @@ in
dpi = mkOption {
type = types.nullOr types.int;
default = 0;
default = null;
description = "DPI resolution to use for X server.";
};