diff --git a/nixos/machines/nyarlathotep/hardware-configuration.nix b/nixos/machines/nyarlathotep/hardware-configuration.nix index bc541e1..81be995 100644 --- a/nixos/machines/nyarlathotep/hardware-configuration.nix +++ b/nixos/machines/nyarlathotep/hardware-configuration.nix @@ -10,7 +10,7 @@ device = "/dev/disk/by-uuid/a72da670-f631-49b1-bcb3-6d378cc1f2d0"; fsType = "ext4"; }; - fileSystems."/var/mail" = { + fileSystems."/var/vmail" = { device = "/dev/disk/by-uuid/23c44c93-5035-4e29-9e46-75c1c08f4cea"; fsType = "ext4"; }; diff --git a/nixos/machines/nyarlathotep/mail.nix b/nixos/machines/nyarlathotep/mail.nix index a954a5d..9eb7ce1 100644 --- a/nixos/machines/nyarlathotep/mail.nix +++ b/nixos/machines/nyarlathotep/mail.nix @@ -23,12 +23,13 @@ flake-inputs: # Fun dovecot stuff : - mailDirectory = "/var/mail/vmail/"; # directory to store mail + mailDirectory = "/var/vmail/vmail/"; # directory to store mail it was /var/mail/vmail but + # /var/mail ist special hierarchySeparator = "/"; # seperator for imap mailboxes from client view # Caching of search indices - indexDir = "/var/mail/lib/dovecot/indices"; + indexDir = "/var/vmail/lib/dovecot/indices"; fullTextSearch = { enforced = "body"; # only brute force headers if no search index is available };