anchor.diff:      User = "zammad";
       Group = "zammad";
       PrivateTmp = true;
  -    StateDirectory = builtins.baseNameOf cfg.dataDir;
  +    StateDirectory = "zammad";
       WorkingDirectory = cfg.dataDir;
   
       EnvironmentFile = cfg.secretsFile;
  
positive.code: { config, lib, pkgs, ... }:
  
  let
    cfg = config.services.zammad;
  
negative.code: 
    options = {
      services.zammad = {
        enable = mkEnableOption "Zammad, a web-based, open source user support/ticketing solution.";
  
        package = mkOption {
          type = types.package;
          default = pkgs.zammad;
          defaultText = literalExpression "pkgs.zammad";
          description = "Zammad package to use.";
        };
  
        dataDir = mkOption {
          type = types.path;
          default = "/var/lib/zammad";
          description = ''
            Path to a folder that will contain Zammad working directory.
          '';
        };
  
        host = mkOption {
          type = types.str;
          default = "127.0.0.1";
          example = "192.168.23.42";
          description = "Host address.";
        };
  
        openPorts = mkOption {
          type = types.bool;
          default = false;
          description = "Whether to open firewall ports for Zammad";
        };
  
        port = mkOption {
          type = types.port;
          default = 3000;
          description = "Web service port.";
        };
  
        websocketPort = mkOption {
          type = types.port;
          default = 6042;
          description = "Websocket service port.";
        };
  