From 27bd7b472cf72f7c4cb0f0b466f9c2183abdc3ad Mon Sep 17 00:00:00 2001 From: joygnu Date: Thu, 22 Aug 2024 23:10:56 +0200 Subject: [PATCH] no more mail serive --- modules/default.nix | 1 - modules/mail/default.nix | 25 ------------------------- 2 files changed, 26 deletions(-) delete mode 100644 modules/mail/default.nix diff --git a/modules/default.nix b/modules/default.nix index 0ee56a2..bdc7839 100644 --- a/modules/default.nix +++ b/modules/default.nix @@ -15,6 +15,5 @@ ./update ./polkit ./ssh - ./mail ]; } diff --git a/modules/mail/default.nix b/modules/mail/default.nix deleted file mode 100644 index 3755895..0000000 --- a/modules/mail/default.nix +++ /dev/null @@ -1,25 +0,0 @@ -{...}: - -{ - systemd.services.mw-service = { - after = [ "network.target" ]; - serviceConfig = { - User = "joy"; - ExecStart = "/run/current-system/sw/bin/mw -Y"; - Environment = "PATH=/run/current-system/sw/bin:/usr/bin:/bin"; # Ensure all required paths are included - }; - wantedBy = [ "multi-user.target" ]; - }; - systemd.timers.mw-service-timer = { - timerConfig = { - OnBootSec = "5sec"; - OnUnitActiveSec = "10sec"; - AccuracySec = "1sec"; - }; - unitConfig = { - Wants = [ "mw-service.service" ]; - After = [ "mw-service.service" ]; - }; - }; -} -