Compare commits
2 commits
0fa0456f7e
...
8f190d628f
Author | SHA1 | Date | |
---|---|---|---|
joygnu | 8f190d628f | ||
joygnu | 7e32d7f9bb |
|
@ -1,4 +1,4 @@
|
|||
{inputs, ...}: {
|
||||
{...}: {
|
||||
imports = [
|
||||
./zsh
|
||||
./gtk
|
||||
|
@ -11,7 +11,6 @@
|
|||
./alacritty
|
||||
./hyprland
|
||||
./hypridle
|
||||
./neomutt
|
||||
./newsboat
|
||||
./dunst
|
||||
];
|
||||
|
|
|
@ -1,27 +0,0 @@
|
|||
{pkgs, ...}: {
|
||||
# programs.neomutt = {
|
||||
# enable = true;
|
||||
# sidebar.enable = true;
|
||||
# vimKeys = true;
|
||||
# };
|
||||
# programs.mbsync = {
|
||||
# enable = true;
|
||||
# };
|
||||
# programs.msmtp = {
|
||||
# enable = true;
|
||||
# };
|
||||
|
||||
home.packages = with pkgs; [
|
||||
mutt-wizard
|
||||
neomutt
|
||||
msmtp
|
||||
curl
|
||||
isync
|
||||
pass
|
||||
lynx
|
||||
notmuch
|
||||
abook
|
||||
mpop
|
||||
urlscan
|
||||
];
|
||||
}
|
|
@ -15,5 +15,6 @@
|
|||
./update
|
||||
./polkit
|
||||
./ssh
|
||||
./mail
|
||||
];
|
||||
}
|
||||
|
|
25
modules/mail/default.nix
Normal file
25
modules/mail/default.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
{...}:
|
||||
|
||||
{
|
||||
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" ];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -49,6 +49,18 @@
|
|||
networkmanagerapplet
|
||||
ncdu
|
||||
git
|
||||
#mutt
|
||||
mutt-wizard
|
||||
neomutt
|
||||
msmtp
|
||||
curl
|
||||
isync
|
||||
pass
|
||||
lynx
|
||||
notmuch
|
||||
abook
|
||||
mpop
|
||||
urlscan
|
||||
#office
|
||||
sent
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue