anchor.diff:        '';
   
         serviceConfig = {
  -        ExecStart = "${pkgs.unbound}/bin/unbound -d -c ${stateDir}/unbound.conf";
  +        ExecStart = "${cfg.package}/bin/unbound -d -c ${stateDir}/unbound.conf";
           ExecStopPost="${pkgs.utillinux}/bin/umount ${stateDir}/dev/random";
   
           ProtectSystem = true;
  
positive.code: 
    config = mkIf cfg.enable {
  
      environment.systemPackages = [ pkgs.unbound ];
  
      users.users.unbound = {
        description = "unbound daemon user";
  
negative.code:         mkdir -m 0755 -p ${stateDir}/dev/
          cp ${confFile} ${stateDir}/unbound.conf
          ${optionalString cfg.enableRootTrustAnchor ''
            ${cfg.package}/bin/unbound-anchor -a ${rootTrustAnchorFile} || echo "Root anchor updated!"
            chown unbound ${stateDir} ${rootTrustAnchorFile}
          ''}
          touch ${stateDir}/dev/random
  