Skip to content

Squid

services.squid.configText

Verbatim contents of squid.conf. If null (default), use the autogenerated file from NixOS instead.

Type: null or strings concatenated with "\n"

Default

null

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

services.squid.enable

Whether to run squid web proxy. Type: boolean

Default

false

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

services.squid.extraConfig

Squid configuration. Contents will be added verbatim to the configuration file.

Type: strings concatenated with "\n"

Default

""

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

services.squid.package

The squid package to use. Type: package

Default

pkgs.squid

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

services.squid.proxyAddress

IP address on which squid will listen. Type: null or string

Default

null

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

services.squid.proxyPort

TCP port on which squid will listen. Type: signed integer

Default

3128

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