summary refs log tree commit diff
path: root/nixos/modules
diff options
context:
space:
mode:
authorThomas Tuegel <ttuegel@gmail.com>2015-12-16 10:22:19 -0600
committerThomas Tuegel <ttuegel@gmail.com>2015-12-16 10:22:44 -0600
commit06f491d762675cac21d3ff29974591cc384e63aa (patch)
treeb47dd98d83866029f61a53d4bbeef1a491e87f95 /nixos/modules
parent408c3e5033a15a5772548147975d824e1b96fbef (diff)
downloadnixlib-06f491d762675cac21d3ff29974591cc384e63aa.tar
nixlib-06f491d762675cac21d3ff29974591cc384e63aa.tar.gz
nixlib-06f491d762675cac21d3ff29974591cc384e63aa.tar.bz2
nixlib-06f491d762675cac21d3ff29974591cc384e63aa.tar.lz
nixlib-06f491d762675cac21d3ff29974591cc384e63aa.tar.xz
nixlib-06f491d762675cac21d3ff29974591cc384e63aa.tar.zst
nixlib-06f491d762675cac21d3ff29974591cc384e63aa.zip
nixos/xserver: fix typos
Diffstat (limited to 'nixos/modules')
-rw-r--r--nixos/modules/services/x11/xserver.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/x11/xserver.nix b/nixos/modules/services/x11/xserver.nix
index 8fcca70bc796..799a7329813c 100644
--- a/nixos/modules/services/x11/xserver.nix
+++ b/nixos/modules/services/x11/xserver.nix
@@ -519,9 +519,9 @@ in
         "-terminate"
         "-config ${configFile}"
         "-xkbdir" "${pkgs.xkeyboard_config}/etc/X11/xkb"
-      ] ++ optional (cfg.display != null) ":${tostring cfg.display}"
+      ] ++ optional (cfg.display != null) ":${toString cfg.display}"
         ++ optional (cfg.tty     != null) "vt${toString cfg.tty}"
-        ++ optional (cfg.display != null) [ "-logfile" "/var/log/X.${toString cfg.display}.log" ]
+        ++ optionals (cfg.display != null) [ "-logfile" "/var/log/X.${toString cfg.display}.log" ]
         ++ optional (!cfg.enableTCP) "-nolisten tcp";
 
     services.xserver.modules =