1 { config, lib, pkgs, ... }:
6 cfg = config.services.sslmate-agent;
9 meta.maintainers = [ ];
12 services.sslmate-agent = {
13 enable = mkEnableOption "sslmate-agent, a daemon for managing SSL/TLS certificates on a server";
17 config = mkIf cfg.enable {
18 environment.systemPackages = with pkgs; [ sslmate-agent ];
21 packages = [ pkgs.sslmate-agent ];
22 services.sslmate-agent = {
23 wantedBy = [ "multi-user.target" ];
25 ConfigurationDirectory = "sslmate-agent";
26 LogsDirectory = "sslmate-agent";
27 StateDirectory = "sslmate-agent";