[Nix-dev] remarks regarding modules/services/x11/display-managers/default.nix

Yury G. Kudryashov urkud.urkud at gmail.com
Thu Feb 9 16:52:54 CET 2012


Arie Middelkoop wrote:

>  > modules/services/x11/display-managers/default.nix
> 
>  > ${optionalString (!cfg.displayManager.job.logsXsession) ...
> The "!" should be removed, because the session now gets logged if the
> attribute is "false". Since the default value is "false", the logging is
> thus by default on (by itself not bad).
> 
>  > job = mkOption {
>  >  default = {};
>  >  type = types.uniq types.optionSet;
> 
> Because of the "types.uniq", it is not possible to change the
> logsXsession attribute in configuration.nix as the jobs-options are
> partially set by the expression of the display manager that is enabled.
> 
> I have a non-obstrusive patch for both issues,
Then attach them.
> but as I don't know if
> the above was introduced on purpose or just happens to be the case, I
> don't know whether I should commit it.
> 
> Arie
-- 
Yury G. Kudryashov,
mailto: urkud at mccme.ru



More information about the nix-dev mailing list