summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorNiklas Hambüchen <mail@nh2.me>2021-11-01 15:51:34 +0100
committerKerstin <kerstin@erictapen.name>2021-11-01 23:20:40 +0100
commitc7ed7466c317249953948ec7221d7b9fabc7d6e7 (patch)
treeea1dc3d885cc2534368075711cd36acce0847db9 /nixos
parentbb2a6ec751dfb2810ef86be0fb44b93379b7de11 (diff)
downloadnixpkgs-c7ed7466c317249953948ec7221d7b9fabc7d6e7.tar
nixpkgs-c7ed7466c317249953948ec7221d7b9fabc7d6e7.tar.gz
nixpkgs-c7ed7466c317249953948ec7221d7b9fabc7d6e7.tar.bz2
nixpkgs-c7ed7466c317249953948ec7221d7b9fabc7d6e7.tar.lz
nixpkgs-c7ed7466c317249953948ec7221d7b9fabc7d6e7.tar.xz
nixpkgs-c7ed7466c317249953948ec7221d7b9fabc7d6e7.tar.zst
nixpkgs-c7ed7466c317249953948ec7221d7b9fabc7d6e7.zip
nixos/smokeping: Don't listen on all interfaces by default.
In general, NixOS services are configured such that by default
they are not exposed to the Internet for security, see #100192.
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/networking/smokeping.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/smokeping.nix b/nixos/modules/services/networking/smokeping.nix
index bc52d35c730..076469a1541 100644
--- a/nixos/modules/services/networking/smokeping.nix
+++ b/nixos/modules/services/networking/smokeping.nix
@@ -174,7 +174,7 @@ in
       };
       host = mkOption {
         type = types.nullOr types.str;
-        default = null;
+        default = "localhost";
         example = "192.0.2.1"; # rfc5737 example IP for documentation
         description = ''
           Host/IP to bind to for the web server.