[Nix-dev] Re: [Nix-commits] SVN commit: nix - 20576 - ludo - in nixos/trunk/modules: . config

Ludovic Courtès ludo at gnu.org
Thu Mar 11 21:11:15 CET 2010


Hi Nicolas,

Nicolas Pierron <nicolas.b.pierron at gmail.com> writes:

> Unfortunately this won't work.  As I've explained at the Fosdem,
>
> services.xserver.startOpenSSHAgent = false;
>
> does not forbid the user to use it, but
>
> services.xserver.startGnuPGAgent = true;
>
> does.
>
> So you don't want to enable the Gnu versions.
>
> You want to take precedence over user configuration,

No I don’t.  :-)

The intent is that ‘gnu = true’ would give you GNU programs by default.
But then I also want to allow things like:

  gnu = true;
  services.lshd.enable = false;
  services.openssh.enable = true;

The ‘gnu = true’ is not meant to be a jail.  It’s meant to be a helper
to choose GNU defaults, while still allowing users to have non-default
settings.

Thanks,
Ludo’.



More information about the nix-dev mailing list