anchor.diff:        ] ++ (optional (!config.boot.isContainer) "systemd-journald-audit.socket") ++ [
         "systemd-journald-dev-log.socket"
         "syslog.socket"
  -      ] ++ optionals config.services.journald.enableHttpGateway [
  +      ] ++ optionals cfg.enableHttpGateway [
         "systemd-journal-gatewayd.socket"
         "systemd-journal-gatewayd.service"
         ];
  
positive.code:       "systemd/journald.conf".text = ''
          [Journal]
          Storage=persistent
          RateLimitInterval=${config.services.journald.rateLimitInterval}
          RateLimitBurst=${toString config.services.journald.rateLimitBurst}
          ${optionalString (config.services.journald.console != "") ''
            ForwardToConsole=yes
            TTYPath=${config.services.journald.console}
          ''}
          ${optionalString (config.services.journald.forwardToSyslog) ''
            ForwardToSyslog=yes
          ''}
          ${config.services.journald.extraConfig}
        '';
      };
  
  
negative.code: { config, lib, pkgs, ... }:
  
  with lib;
  
  let
    cfg = config.services.journald;
  in {
    options = {
      services.journald.console = mkOption {
        default = "";
  