From c8dcbfc0478796ae7fd592eafa72ba90bba1656d Mon Sep 17 00:00:00 2001 From: nicoo Date: Sun, 21 Feb 2021 01:33:50 +0100 Subject: [PATCH] nixos/swap: Remove dependency on rngd (module removed) --- nixos/modules/config/swap.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/nixos/modules/config/swap.nix b/nixos/modules/config/swap.nix index 4bb66e9b514..59bc9e9d11e 100644 --- a/nixos/modules/config/swap.nix +++ b/nixos/modules/config/swap.nix @@ -185,8 +185,6 @@ in { description = "Initialisation of swap device ${sw.device}"; wantedBy = [ "${realDevice'}.swap" ]; before = [ "${realDevice'}.swap" ]; - # If swap is encrypted, depending on rngd resolves a possible entropy starvation during boot - after = mkIf (config.security.rngd.enable && sw.randomEncryption.enable) [ "rngd.service" ]; path = [ pkgs.util-linux ] ++ optional sw.randomEncryption.enable pkgs.cryptsetup; script =