lightdm-greeters service: add extraConfig option (#24135)
commita4b4cd0710c7d92f6e84ac5655c61154714f198a
authorPiotr Bogdan <ppbogdan@gmail.com>
dateWed 22 Mar 2017, 14:33 (10 years ago)
parentbfb7890
nixos/modules/services/x11/display-managers/lightdm-greeters/gtk.nix+10
@@ -45,6 +45,7 @@ let
4545 theme-name = ${cfg.theme.name}
4646 icon-theme-name = ${cfg.iconTheme.name}
4747 background = ${ldmcfg.background}
48+ ${cfg.extraConfig}
4849 '';
4950
5051in
@@ -103,6 +104,15 @@ in
103104
104105 };
105106
107+ extraConfig = mkOption {
108+ type = types.lines;
109+ default = "";
110+ description = ''
111+ Extra configuration that should be put in the lightdm-gtk-greeter.conf
112+ configuration file.
113+ '';
114+ };
115+
106116 };
107117
108118 };