diff options
author | nicoo <nicoo@mur.at> | 2021-02-21 01:33:50 +0100 |
---|---|---|
committer | nicoo <nicoo@mur.at> | 2021-02-21 01:33:50 +0100 |
commit | c8dcbfc0478796ae7fd592eafa72ba90bba1656d (patch) | |
tree | f993973b9ad16123e7e351cf1d531cc11b2b382e | |
parent | 39383a8494c5a1f754899667e7e6058c0c9ff105 (diff) |
nixos/swap: Remove dependency on rngd (module removed)
-rw-r--r-- | nixos/modules/config/swap.nix | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/nixos/modules/config/swap.nix b/nixos/modules/config/swap.nix index 4bb66e9b51449..59bc9e9d11e00 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 = |