summary refs log tree commit diff
path: root/nixos/modules/services/logging
diff options
context:
space:
mode:
authorJanne Heß <janne@hess.ooo>2022-05-05 13:23:32 +0200
committerJanne Heß <janne@hess.ooo>2022-05-05 20:00:31 +0200
commit57cd07f3a9d27d1a63918fe21add060ecde4a29f (patch)
tree410bd179ab7dd88e84657cd2fe194013a3211367 /nixos/modules/services/logging
parentc01480f0a32d8584e60f128b9c7fc6cb98d64ede (diff)
downloadnixpkgs-57cd07f3a9d27d1a63918fe21add060ecde4a29f.tar
nixpkgs-57cd07f3a9d27d1a63918fe21add060ecde4a29f.tar.gz
nixpkgs-57cd07f3a9d27d1a63918fe21add060ecde4a29f.tar.bz2
nixpkgs-57cd07f3a9d27d1a63918fe21add060ecde4a29f.tar.lz
nixpkgs-57cd07f3a9d27d1a63918fe21add060ecde4a29f.tar.xz
nixpkgs-57cd07f3a9d27d1a63918fe21add060ecde4a29f.tar.zst
nixpkgs-57cd07f3a9d27d1a63918fe21add060ecde4a29f.zip
treewide: pkgs.systemd -> config.systemd.package
This ensures there is only one systemd package when e.g. testing the
next systemd version.
Diffstat (limited to 'nixos/modules/services/logging')
-rw-r--r--nixos/modules/services/logging/logstash.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/logging/logstash.nix b/nixos/modules/services/logging/logstash.nix
index a08203dffe7..5d00feabe1c 100644
--- a/nixos/modules/services/logging/logstash.nix
+++ b/nixos/modules/services/logging/logstash.nix
@@ -109,7 +109,7 @@ in
           '''
             # Read from journal
             pipe {
-              command => "''${pkgs.systemd}/bin/journalctl -f -o json"
+              command => "''${config.systemd.package}/bin/journalctl -f -o json"
               type => "syslog" codec => json {}
             }
           '''