diff --git a/host/x86_64-linux/home/Mailserver.nix b/host/x86_64-linux/home/Mailserver.nix index a970522..e229d13 100644 --- a/host/x86_64-linux/home/Mailserver.nix +++ b/host/x86_64-linux/home/Mailserver.nix @@ -120,7 +120,7 @@ in ru ]; plugins = [ "managesieve" ]; - extraConfig = util.trimTabs '' + extraConfig = '' $config['smtp_server'] = "localhost:25"; $config['smtp_auth_type'] = null; $config['smtp_user'] = ""; @@ -138,7 +138,7 @@ in Type = "oneshot"; }; path = [ pkgs.dovecot ]; - script = util.trimTabs '' + script = '' doveadm expunge -A mailbox Junk SENTBEFORE 7d doveadm expunge -A mailbox Trash SENTBEFORE 30d doveadm expunge -u trash@voronind.com mailbox Inbox SENTBEFORE 30d diff --git a/host/x86_64-linux/home/Network.nix b/host/x86_64-linux/home/Network.nix index 1189fe1..a741c5a 100644 --- a/host/x86_64-linux/home/Network.nix +++ b/host/x86_64-linux/home/Network.nix @@ -143,7 +143,7 @@ in networkmanager.enable = lib.mkForce false; firewall = { enable = true; - extraCommands = util.trimTabs '' + extraCommands = '' # Wan access for 10.0.0.0/24 subnet. iptables -t nat -A POSTROUTING -s 10.0.0.0/24 -d 0/0 -o ${wan} -j MASQUERADE