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" ]; - }; - }; -} -