Unverified Commit 04941438 authored by Janne Heß's avatar Janne Heß Committed by GitHub
Browse files

nixos/dovecot: remove option for unit name introspection (#470461)

parents d20f09cd e323a826
Loading
Loading
Loading
Loading
+0 −15
Original line number Diff line number Diff line
@@ -295,20 +295,6 @@ in

    enableLmtp = mkEnableOption "starting the LMTP listener (when Dovecot is enabled)";

    hasNewUnitName = mkOption {
      type = types.bool;
      default = true;
      readOnly = true;
      internal = true;
      description = ''
        Inspectable option to confirm that the dovecot module uses the new
        `dovecot.service` name, instead of `dovecot2.service`.

        This is a helper added for the nixos-mailserver project and can be
        removed after branching off nixos-25.11.
      '';
    };

    protocols = mkOption {
      type = types.listOf types.str;
      default = [ ];
@@ -705,7 +691,6 @@ in
    environment.etc."dovecot/dovecot.conf".source = cfg.configFile;

    systemd.services.dovecot = {
      aliases = [ "dovecot2.service" ];
      description = "Dovecot IMAP/POP3 server";
      documentation = [
        "man:dovecot(1)"