diff options
author | Suvash Thapaliya <suvash@gmail.com> | 2014-08-31 03:01:55 +0200 |
---|---|---|
committer | Suvash Thapaliya <suvash@gmail.com> | 2014-08-31 03:21:37 +0200 |
commit | 9073a30ceecf750012a22983289ee74cdf0372e2 (patch) | |
tree | 00afc5e1b552bea765f745a21ccf8c20b01016b1 /nixos/modules/services/x11/display-managers/slim.nix | |
parent | efdb6ecb0cf5be0c340a2abca949db59e9c4ac79 (diff) | |
download | nixpkgs-9073a30ceecf750012a22983289ee74cdf0372e2.tar nixpkgs-9073a30ceecf750012a22983289ee74cdf0372e2.tar.gz nixpkgs-9073a30ceecf750012a22983289ee74cdf0372e2.tar.bz2 nixpkgs-9073a30ceecf750012a22983289ee74cdf0372e2.tar.lz nixpkgs-9073a30ceecf750012a22983289ee74cdf0372e2.tar.xz nixpkgs-9073a30ceecf750012a22983289ee74cdf0372e2.tar.zst nixpkgs-9073a30ceecf750012a22983289ee74cdf0372e2.zip |
Add `extraConfig` option for SLiM
so that various configuration options can be set without having to expose every single configurable parameter
Diffstat (limited to 'nixos/modules/services/x11/display-managers/slim.nix')
-rw-r--r-- | nixos/modules/services/x11/display-managers/slim.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/nixos/modules/services/x11/display-managers/slim.nix b/nixos/modules/services/x11/display-managers/slim.nix index 9ee4e0dc7cb..c7fbfa85e33 100644 --- a/nixos/modules/services/x11/display-managers/slim.nix +++ b/nixos/modules/services/x11/display-managers/slim.nix @@ -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. + ''; + }; + }; }; |