From b5fc07416652a445f15946ce7e5fc48766cf6722 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Tue, 24 Dec 2024 16:09:20 +0100 Subject: refactor(modules/impermanence): Migrate to by-name while distributing mods --- system/impermanence/mods/mail.nix | 46 --------------------------------------- 1 file changed, 46 deletions(-) delete mode 100644 system/impermanence/mods/mail.nix (limited to 'system/impermanence/mods/mail.nix') diff --git a/system/impermanence/mods/mail.nix b/system/impermanence/mods/mail.nix deleted file mode 100644 index a306ccf..0000000 --- a/system/impermanence/mods/mail.nix +++ /dev/null @@ -1,46 +0,0 @@ -{...}: { - environment.persistence."/srv".directories = [ - { - directory = "/var/lib/mail/backup"; - user = "virtualMail"; - group = "virtualMail"; - mode = "0700"; - } - { - directory = "/var/lib/mail/sieve"; - user = "virtualMail"; - group = "virtualMail"; - mode = "0700"; - } - { - directory = "/var/lib/mail/vmail"; - user = "virtualMail"; - group = "virtualMail"; - mode = "0700"; - } - { - directory = "/var/lib/mail/dkim"; - user = "opendkim"; - group = "opendkim"; - mode = "0700"; - } - { - directory = "/var/lib/postfix/data"; - user = "postfix"; - group = "postfix"; - mode = "0700"; - } - { - directory = "/var/lib/postfix/queue"; - user = "postfix"; - group = "postfix"; - mode = "0700"; - } - { - directory = "/var/lib/rspamd"; - user = "rspamd"; - group = "rspamd"; - mode = "0700"; - } - ]; -} -- cgit 1.4.1