From 039de66c0647fb5b98416e27f9563df30b830872 Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Sat, 11 Jan 2025 13:08:28 +0300 Subject: [PATCH] Util: Remove old trimTabs usages. --- host/x86_64-linux/home/Mailserver.nix | 4 ++-- host/x86_64-linux/home/Network.nix | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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