Added XDMCP option to KDM

svn path=/nixos/trunk/; revision=17938
This commit is contained in:
Sander van der Burg 2009-10-23 10:54:35 +00:00
parent 5103c7a872
commit ac5bc4a68a

View File

@ -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 = ''