nixpkgs/nixos/modules
Austin Seipp 29d46452dd nixos: add Duo Security module
This module adds the security.duosec attributes, which you can use to
enable simple two-factor authentication for NixOS logins.

The module currently provides PAM and SSH support, although the PAM unix
system configuration isn't automatically dealt with (although the
configuration is automatically built).

Enabling it is as easy as saying:

  security.duosec.ssh.enable = true;
  security.duosec.ikey       = "XXXXXXXX...";
  security.duosec.skey       = "XXXXXXXX...";
  security.duosec.host       = "api-XXXXXXX.duosecurity.com";
  security.duosec.group      = "duosec";

which will enforce two-factor authentication for SSH logins for users in
the 'duosec' group.

This requires uid/gid support in the environment.etc module.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2014-03-16 07:11:50 -05:00
..
config Allow directly setting hashedPassword for root 2014-02-16 07:33:07 -05:00
hardware Upgrade bumblebee and add nixos module 2014-02-09 15:09:41 +01:00
installer Removed obsolete option services.xserver.videoDriver 2014-02-18 23:13:00 +01:00
misc nixos: Assign uid/gid to dictd's service user. 2014-02-22 12:00:08 +01:00
profiles remove references to isSystemUser and fix eval of tested job 2014-02-08 21:10:00 +01:00
programs Don't complain if HOME isn't writable 2014-02-20 13:40:56 -05:00
security nixos: add Duo Security module 2014-03-16 07:11:50 -05:00
services firewall: add support for TCP/UDP port ranges 2014-02-22 18:19:22 +01:00
system etc: uid/gid support for copied files 2014-02-23 18:00:47 -06:00
tasks network-interfaces: Add the ability to create bond devices 2013-12-31 09:28:52 -06:00
testing Rename linuxManualConfig to buildLinux 2014-01-21 20:05:55 -05:00
virtualisation Removed obsolete option services.xserver.videoDriver 2014-02-18 23:13:00 +01:00
module-list.nix nixos: add Duo Security module 2014-03-16 07:11:50 -05:00
rename.nix services.mesa -> hardware.opengl 2014-02-08 14:45:37 -05:00