Merge pull request #3885 from suvash/feature/add-configuration-options-for-slim

Add `extraConfig` option for SLiM
This commit is contained in:
lethalman 2014-08-31 10:00:56 +02:00
commit b3f09699ee

@ -19,6 +19,7 @@ let
reboot_cmd ${config.systemd.package}/sbin/shutdown -r now
${optionalString (cfg.defaultUser != null) ("default_user " + cfg.defaultUser)}
${optionalString cfg.autoLogin "auto_login yes"}
${cfg.extraConfig}
'';
# Unpack the SLiM theme, or use the default.
@ -89,6 +90,15 @@ in
'';
};
extraConfig = mkOption {
type = types.lines;
default = "";
description = ''
Extra configuration options for SLiM login manager. Do not
add options that can be configured directly.
'';
};
};
};