From c1178f171c1267b28add2f131d5b959f3d059282 Mon Sep 17 00:00:00 2001 From: aszlig Date: Sun, 10 Apr 2016 17:46:17 +0200 Subject: [PATCH] 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 --- nixos/modules/services/x11/xserver.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/x11/xserver.nix b/nixos/modules/services/x11/xserver.nix index c3cd550e838..70df18b4020 100644 --- a/nixos/modules/services/x11/xserver.nix +++ b/nixos/modules/services/x11/xserver.nix @@ -221,7 +221,7 @@ in dpi = mkOption { type = types.nullOr types.int; - default = 0; + default = null; description = "DPI resolution to use for X server."; };