anchor.diff:          '';
         };
   
  +      extraZncConf = mkOption {
  +        default = "";
  +        type = types.lines;
  +        description = ''
  +          Extra config to `znc.conf` file
  +        '';
  +      };
       };
     };
   
  
positive.code:         description = "ZNC server daemon owner";
          group = defaultUser;
          uid = config.ids.uids.znc;
          createHome = true;
          createUser = true;
        };
  
negative.code: 
          if [[ ! -f ${cfg.dataDir}/znc.pem ]]; then
            ${pkgs.coreutils}/bin/echo "No znc.pem file found in ${cfg.dataDir}. Creating one now."
            ${pkgs.znc}/bin/znc --makepem --datadir ${cfg.dataDir} 
          fi
  
          # Symlink modules
          rm ${cfg.dataDir}/modules || true
          ln -fs ${modules}/lib/znc ${cfg.dataDir}/modules
        '';
        script = "${pkgs.znc}/bin/znc --foreground --datadir ${cfg.dataDir} ${toString cfg.extraFlags}";
      };
  