aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/nixos/modules/services/security/haveged.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/nixos/modules/services/security/haveged.nix')
-rw-r--r--nixpkgs/nixos/modules/services/security/haveged.nix18
1 files changed, 9 insertions, 9 deletions
diff --git a/nixpkgs/nixos/modules/services/security/haveged.nix b/nixpkgs/nixos/modules/services/security/haveged.nix
index eca52918881..22ece188344 100644
--- a/nixpkgs/nixos/modules/services/security/haveged.nix
+++ b/nixpkgs/nixos/modules/services/security/haveged.nix
@@ -21,11 +21,11 @@ in
type = types.bool;
default = false;
description = ''
- Whether to enable to haveged entropy daemon, which refills
+ Whether to enable to haveged entropy daemon, which refills
/dev/random when low.
'';
};
-
+
refill_threshold = mkOption {
type = types.int;
default = 1024;
@@ -34,16 +34,16 @@ in
haveged should refill the entropy pool.
'';
};
-
+
};
-
+
};
-
-
+
+
###### implementation
-
+
config = mkIf cfg.enable {
-
+
systemd.services.haveged =
{ description = "Entropy Harvesting Daemon";
unitConfig.Documentation = "man:haveged(8)";
@@ -63,5 +63,5 @@ in
};
};
-
+
}