about summary refs log tree commit diff
path: root/nixos/modules/services/logging/journalwatch.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/services/logging/journalwatch.nix')
-rw-r--r--nixos/modules/services/logging/journalwatch.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/logging/journalwatch.nix b/nixos/modules/services/logging/journalwatch.nix
index 576c646c0f58b..fb86904d1ea29 100644
--- a/nixos/modules/services/logging/journalwatch.nix
+++ b/nixos/modules/services/logging/journalwatch.nix
@@ -74,6 +74,7 @@ in {
       mailFrom = mkOption {
         type = types.str;
         default = "journalwatch@${config.networking.hostName}";
+        defaultText = literalExpression ''"journalwatch@''${config.networking.hostName}"'';
         description = ''
           Mail address to send journalwatch reports from.
         '';