Skip to content

Hans

services.hans.clients

Each attribute of this option defines a systemd service that runs hans. Many or none may be defined. The name of each service is hans-«name» where «name» is the name of the corresponding attribute name.

Type: attribute set of (submodule)

Default

{ }

Example

{foo = {server = "192.0.2.1";extraConfig = "-v";}}

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/hans.nix

services.hans.clients.<name>.extraConfig

Additional command line parameters Type: string

Default

""

Example

"-v"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/hans.nix

services.hans.clients.<name>.passwordFile

File that contains password Type: string

Default

""

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/hans.nix

services.hans.clients.<name>.server

IP address of server running hans Type: string

Default

""

Example

"192.0.2.1"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/hans.nix

services.hans.server.enable

enable hans server Type: boolean

Default

false

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/hans.nix

services.hans.server.extraConfig

Additional command line parameters Type: string

Default

""

Example

"-v"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/hans.nix

services.hans.server.ip

The assigned ip range Type: string

Default

""

Example

"198.51.100.0"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/hans.nix

services.hans.server.passwordFile

File that contains password Type: string

Default

""

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/hans.nix

services.hans.server.respondToSystemPings

Force hans respond to ordinary pings Type: boolean

Default

false

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/hans.nix