mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 12:11:28 +00:00
Merge pull request #211992 from ncfavier/remove-stray-spaces
This commit is contained in:
commit
8bf63a5ed4
|
@ -28,7 +28,7 @@ in
|
|||
host = mkOption {
|
||||
type = types.str;
|
||||
description = mdDoc "External host name";
|
||||
defaultText = lib.literalExpression "config.networking.domain or config.networking.hostName ";
|
||||
defaultText = lib.literalExpression "config.networking.domain or config.networking.hostName";
|
||||
default =
|
||||
if domain == null then
|
||||
config.networking.hostName
|
||||
|
|
|
@ -86,7 +86,7 @@ in
|
|||
|
||||
banaction = mkOption {
|
||||
default = if config.networking.nftables.enable then "nftables-multiport" else "iptables-multiport";
|
||||
defaultText = literalExpression '' if config.networking.nftables.enable then "nftables-multiport" else "iptables-multiport" '';
|
||||
defaultText = literalExpression ''if config.networking.nftables.enable then "nftables-multiport" else "iptables-multiport"'';
|
||||
type = types.str;
|
||||
description = lib.mdDoc ''
|
||||
Default banning action (e.g. iptables, iptables-new, iptables-multiport,
|
||||
|
@ -98,7 +98,7 @@ in
|
|||
|
||||
banaction-allports = mkOption {
|
||||
default = if config.networking.nftables.enable then "nftables-allport" else "iptables-allport";
|
||||
defaultText = literalExpression '' if config.networking.nftables.enable then "nftables-allport" else "iptables-allport" '';
|
||||
defaultText = literalExpression ''if config.networking.nftables.enable then "nftables-allport" else "iptables-allport"'';
|
||||
type = types.str;
|
||||
description = lib.mdDoc ''
|
||||
Default banning action (e.g. iptables, iptables-new, iptables-multiport,
|
||||
|
|
|
@ -144,7 +144,7 @@ in {
|
|||
interface. If unset no authentication will be required.
|
||||
|
||||
The file must contain user names and password hashes in the format
|
||||
`username:hash `, one for each line. Usernames must
|
||||
`username:hash`, one for each line. Usernames must
|
||||
start with a lowecase ([a-z]) ASCII character, might contain
|
||||
non-consecutive underscores except at the end, and consists of
|
||||
small-case a-z characters and digits 0-9.
|
||||
|
|
Loading…
Reference in a new issue