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

Add `extraConfig` option for SLiM

lethalman b3f09699 efdb6ecb

Changed files
+10
nixos
modules
services
x11
display-managers
+10
nixos/modules/services/x11/display-managers/slim.nix
···
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.
···
default = false;
description = ''
Automatically log in as the default user.
+
'';
+
};
+
+
extraConfig = mkOption {
+
type = types.lines;
+
default = "";
+
description = ''
+
Extra configuration options for SLiM login manager. Do not
+
add options that can be configured directly.
'';
};