summaryrefslogtreecommitdiffstats
path: root/mail-server
diff options
context:
space:
mode:
authorMartin Milata <martin@martinmilata.cz>2019-09-16 18:14:20 +0200
committerMartin Milata <martin@martinmilata.cz>2019-09-16 18:14:20 +0200
commitab33e87cea1e3b980b5da258ef6d75d93a39e05e (patch)
treebe4638cb81acf4b93810025ee79675a2db0803b4 /mail-server
parent4b480d14455afe44aa4c0c219b20480de502a596 (diff)
Delete leftover services.nix
Diffstat (limited to 'mail-server')
-rw-r--r--mail-server/services.nix44
1 files changed, 0 insertions, 44 deletions
diff --git a/mail-server/services.nix b/mail-server/services.nix
deleted file mode 100644
index 1af0448..0000000
--- a/mail-server/services.nix
+++ /dev/null
@@ -1,44 +0,0 @@
-# nixos-mailserver: a simple mail server
-# Copyright (C) 2016-2018 Robin Raymond
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>
-
-
-{ config, pkgs, lib, ... }:
-
-let
- cfg = config.mailserver;
-
- # cert :: PATH
- cert = if cfg.certificateScheme == 1
- then cfg.certificateFile
- else if cfg.certificateScheme == 2
- then "${cfg.certificateDirectory}/cert-${cfg.fqdn.pem"
- else "";
-
- # key :: PATH
- key = if cfg.certificateScheme == 1
- then cfg.keyFile
- else if cfg.certificateScheme == 2
- then "${cfg.certificateDirectory}/key-${cfg.fqdn}.pem"
- else "";
-in
-{
-
- imports = [
- ./rmilter.nix
- ./postfix.nix key
- ./dovecot.nix
- ];
-}