anchor.diff:  
     cfg = config.services.gnunet;
   
  -  homeDir = "/var/lib/gnunet";
  +  stateDir = "/var/lib/gnunet";
   
  -  configFile = with cfg; pkgs.writeText "gnunetd.conf"
  +  configFile = with cfg;
       ''
         [PATHS]
  -      SERVICEHOME = ${homeDir}
  +      GNUNET_HOME = ${stateDir}
  +      GNUNET_RUNTIME_DIR = /run/gnunet
  +      GNUNET_USER_RUNTIME_DIR = /run/gnunet
  +      GNUNET_DATA_HOME = ${stateDir}/data
   
         [ats]
         WAN_QUOTA_IN = ${toString load.maxNetDownBandwidth} b
  
positive.code:     # so install them globally.
      environment.systemPackages = [ cfg.package ];
  
      systemd.services.gnunet = {
        description = "GNUnet";
        after = [ "network.target" ];
        wantedBy = [ "multi-user.target" ];
        path = [ cfg.package pkgs.miniupnpc ];
        environment.TMPDIR = "/tmp";
        serviceConfig.PrivateTmp = true;
        serviceConfig.ExecStart = "${cfg.package}/lib/gnunet/libexec/gnunet-service-arm -c ${configFile}";
        serviceConfig.User = "gnunet";
        serviceConfig.UMask = "0007";
        serviceConfig.WorkingDirectory = homeDir;
      };
  
    };
  
negative.code:     users.users.gnunet = {
        group = "gnunet";
        description = "GNUnet User";
        uid = config.ids.uids.gnunet;
      };
  
  