From ac5bc4a68a546d193bd1ed349ca93db172822228 Mon Sep 17 00:00:00 2001 From: Sander van der Burg Date: Fri, 23 Oct 2009 10:54:35 +0000 Subject: [PATCH] Added XDMCP option to KDM svn path=/nixos/trunk/; revision=17938 --- modules/services/x11/display-managers/kdm.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/modules/services/x11/display-managers/kdm.nix b/modules/services/x11/display-managers/kdm.nix index 5264aa782289..349fd19adfe1 100644 --- a/modules/services/x11/display-managers/kdm.nix +++ b/modules/services/x11/display-managers/kdm.nix @@ -32,6 +32,12 @@ let [X-*-Greeter] HiddenUsers=root,nixbld1,nixbld2,nixbld3,nixbld4,nixbld5,nixbld6,nixbld7,nixbld8,nixbld9,nixbld10 PluginsLogin=${kdebase_workspace}/lib/kde4/kgreet_classic.so + + ${optionalString (cfg.enableXDMCP) + '' + [Xdmcp] + Enable=true + ''} ''; kdmrc = pkgs.stdenv.mkDerivation { @@ -61,6 +67,13 @@ in ''; }; + enableXDMCP = mkOption { + default = false; + description = '' + Whether to enable XDMCP, which allows remote logins"; + ''; + }; + extraConfig = mkOption { default = ""; description = ''