1 { lib, config, pkgs, ... }:
3 cfg = config.services.jitterentropy-rngd;
6 options.services.jitterentropy-rngd = {
8 lib.mkEnableOption "jitterentropy-rngd service configuration";
9 package = lib.mkPackageOption pkgs "jitterentropy-rngd" { };
12 config = lib.mkIf cfg.enable {
13 systemd.packages = [ cfg.package ];
14 systemd.services."jitterentropy".wantedBy = [ "basic.target" ];
17 meta.maintainers = with lib.maintainers; [ thillux ];