nixpkgs/nixos/modules
Maximilian Bosch cd5e01edd9 ocserv: init at 0.12.1 (#42871)
`ocserv` is a VPN server which follows the openconnect protocol
(https://github.com/openconnect/protocol). The packaging is slightly
inspired by the AUR version
(https://aur.archlinux.org/packages/ocserv/).

This patch initializes the package written in C, the man pages and a
module for a simple systemd unit to run the VPN server. The package
supports the following authentication methods for the server:

* `plain` (mostly username/password)
* `pam`

The third method (`radius`) is currently not supported since `nixpkgs`
misses a packaged client.

The module can be used like this:

``` nix
{
  services.ocserv = {
    enable = true;
    config = ''
      ...
    '';
  };
}
```

The option `services.ocserv.config` is required on purpose to
ensure that nobody just enables the service and experiences unexpected
side-effects on the system. For a full reference, please refer to the
man pages, the online docs or the example value.

The docs recommend to simply use `nobody` as user, so no extra user has
been added to the internal user list. Instead a configuration like
this can be used:

```
run-as-user = nobody
run-as-group = nogroup
```

/cc @tenten8401
Fixes #42594
2018-08-01 21:39:09 +02:00
..
config Merge pull request #44015 from alexshpilkin/resolv-unbound 2018-07-24 22:53:53 +02:00
hardware [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
i18n/input-method options.i18n.inputMethod.package: fix type (#43239) 2018-07-09 22:37:27 +02:00
installer Revert "nixos: rename system.{stateVersion,defaultChannel} -> system.nixos.\1" 2018-07-28 00:12:55 +03:00
misc Revert "nixos: rename system.{stateVersion,defaultChannel} -> system.nixos.\1" 2018-07-28 00:12:55 +03:00
profiles [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
programs Revert "nixos: rename system.{stateVersion,defaultChannel} -> system.nixos.\1" 2018-07-28 00:12:55 +03:00
security Merge pull request #42834 from Synthetica9/patch-1 2018-07-23 11:29:18 -04:00
services ocserv: init at 0.12.1 (#42871) 2018-08-01 21:39:09 +02:00
system Merge pull request #44202 from jerith666/journald-rate 2018-07-30 13:47:01 +01:00
tasks [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
testing Revert "nixos: rename system.{stateVersion,defaultChannel} -> system.nixos.\1" 2018-07-28 00:12:55 +03:00
virtualisation Revert "nixos: rename system.{stateVersion,defaultChannel} -> system.nixos.\1" 2018-07-28 00:12:55 +03:00
module-list.nix ocserv: init at 0.12.1 (#42871) 2018-08-01 21:39:09 +02:00
rename.nix nixos/rename: Add temporary aliases for the system.nixos.* rename revert 2018-07-28 00:12:55 +03:00