diff options
author | Naïm Favier <n@monade.li> | 2023-01-21 21:46:53 +0100 |
---|---|---|
committer | Naïm Favier <n@monade.li> | 2023-01-21 21:46:53 +0100 |
commit | 3aa1337a71bdecf1e4141e6decff5d972fa3859b (patch) | |
tree | c29dcbbf6375477233bb123a21071e67b0e98133 /nixos/modules | |
parent | 112e7c9a8ea414ed1fe087c9906662bf9aa4dbb7 (diff) | |
download | nixlib-3aa1337a71bdecf1e4141e6decff5d972fa3859b.tar nixlib-3aa1337a71bdecf1e4141e6decff5d972fa3859b.tar.gz nixlib-3aa1337a71bdecf1e4141e6decff5d972fa3859b.tar.bz2 nixlib-3aa1337a71bdecf1e4141e6decff5d972fa3859b.tar.lz nixlib-3aa1337a71bdecf1e4141e6decff5d972fa3859b.tar.xz nixlib-3aa1337a71bdecf1e4141e6decff5d972fa3859b.tar.zst nixlib-3aa1337a71bdecf1e4141e6decff5d972fa3859b.zip |
nixos: remove stray spaces
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/services/networking/tmate-ssh-server.nix | 2 | ||||
-rw-r--r-- | nixos/modules/services/security/fail2ban.nix | 4 | ||||
-rw-r--r-- | nixos/modules/services/torrent/magnetico.nix | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/nixos/modules/services/networking/tmate-ssh-server.nix b/nixos/modules/services/networking/tmate-ssh-server.nix index f7740b1ddfcc..ff4ce0773309 100644 --- a/nixos/modules/services/networking/tmate-ssh-server.nix +++ b/nixos/modules/services/networking/tmate-ssh-server.nix @@ -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 diff --git a/nixos/modules/services/security/fail2ban.nix b/nixos/modules/services/security/fail2ban.nix index 6207f9dae971..3c4bcd1ac265 100644 --- a/nixos/modules/services/security/fail2ban.nix +++ b/nixos/modules/services/security/fail2ban.nix @@ -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, diff --git a/nixos/modules/services/torrent/magnetico.nix b/nixos/modules/services/torrent/magnetico.nix index b813f1205119..dc6b4e9aa734 100644 --- a/nixos/modules/services/torrent/magnetico.nix +++ b/nixos/modules/services/torrent/magnetico.nix @@ -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. |