From b2f6aa00696f174f8d7ab453a89b8b7370dd128b Mon Sep 17 00:00:00 2001 From: Renaud Date: Wed, 24 Oct 2018 13:46:08 +0200 Subject: nixos/rngd: use new name pkgs.rng-tools Instead of pkgs.rng_tools which is now an alias --- nixos/modules/security/rngd.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/security/rngd.nix b/nixos/modules/security/rngd.nix index 3a1ffc55e5f..81e04a44b11 100644 --- a/nixos/modules/security/rngd.nix +++ b/nixos/modules/security/rngd.nix @@ -30,7 +30,7 @@ with lib; description = "Hardware RNG Entropy Gatherer Daemon"; - serviceConfig.ExecStart = "${pkgs.rng_tools}/sbin/rngd -f -v" + + serviceConfig.ExecStart = "${pkgs.rng-tools}/sbin/rngd -f -v" + (if config.services.tcsd.enable then " --no-tpm=1" else ""); }; }; -- cgit 1.4.1