nixpkgs/nixos/modules/services
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
..
admin nixos/modules: users.(extraUsers|extraGroup->users|group) 2018-06-30 03:02:58 +02:00
amqp nixos/modules: users.(extraUsers|extraGroup->users|group) 2018-06-30 03:02:58 +02:00
audio nixos/modules: users.(extraUsers|extraGroup->users|group) 2018-06-30 03:02:58 +02:00
backup [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
cluster nixos/kubernetes: fix kubelet cgroup stats 2018-07-31 15:45:37 +02:00
computing nixos/slurm: remove propagatedBuidInputs from slurmWrapped 2018-06-02 14:01:24 +02:00
continuous-integration [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
databases nixos/manual: fix inclusion of FoundationDB documentation 2018-07-30 18:30:40 -05:00
desktops nixos/bamf: init 2018-07-11 18:58:02 +02:00
development nixos/hoogle: add home option (#44103) 2018-07-30 11:27:07 +01:00
editors nixos/modules: users.(extraUsers|extraGroup->users|group) 2018-06-30 03:02:58 +02:00
games nixos/modules: users.(extraUsers|extraGroup->users|group) 2018-06-30 03:02:58 +02:00
hardware Merge pull request #43863 from volth/unused4 2018-07-21 16:39:08 +01:00
logging [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
mail [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
misc Merge pull request #44190 from andir/nixos/default-enable-sandboxing 2018-08-01 19:10:45 +02:00
monitoring Merge pull request #43863 from volth/unused4 2018-07-21 16:39:08 +01:00
network-filesystems beegfs: 6.18 -> 7.0 (#44210) 2018-07-30 12:42:59 +02:00
networking ocserv: init at 0.12.1 (#42871) 2018-08-01 21:39:09 +02:00
printing nixos/cupsd: add option to start when needed 2018-07-14 23:39:43 +02:00
scheduling nixos/modules: users.(extraUsers|extraGroup->users|group) 2018-06-30 03:02:58 +02:00
search elk: 6.2.4 -> 6.3.2 2018-07-28 00:01:31 +02:00
security [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
system [bot] treewide: remove unused 'inherit' in let blocks 2018-07-20 19:38:19 +00:00
torrent [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
ttys [bot] treewide: remove unused 'inherit' in let blocks 2018-07-20 19:38:19 +00:00
web-apps [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
web-servers Revert "nixos: rename system.{stateVersion,defaultChannel} -> system.nixos.\1" 2018-07-28 00:12:55 +03:00
x11 lxqt: add ${config.system.path}/share to XDG_CONFIG_DIRS 2018-07-27 19:59:45 -03:00