update config
This commit is contained in:
parent
8a58079706
commit
3050a5bd98
5 changed files with 96 additions and 17 deletions
|
@ -25,7 +25,6 @@
|
|||
neomutt
|
||||
dunst
|
||||
mutt-wizard
|
||||
cyrus-sasl-xoauth2
|
||||
pass
|
||||
isync
|
||||
msmtp
|
||||
|
@ -44,6 +43,7 @@
|
|||
swaylock-effects
|
||||
qt5ct
|
||||
qt6ct
|
||||
mpv
|
||||
];
|
||||
#programs.hyprland.enable = true;
|
||||
# hyprland.homeManagerModules.default
|
||||
|
@ -56,6 +56,37 @@
|
|||
};
|
||||
};
|
||||
|
||||
systemd.user.services = {
|
||||
mailsync = {
|
||||
Unit = {
|
||||
Description = "Syncs email";
|
||||
After = [ "network-online.target" ];
|
||||
};
|
||||
Service = {
|
||||
Type = "oneshot";
|
||||
ExecStart = "${pkgs.mutt-wizard}/bin/mailsync";
|
||||
Environment = [
|
||||
"SASL_PATH=/run/current-system/sw/lib/sasl2"
|
||||
"LOGNAME=stitchynyan"
|
||||
"USER=stitchynyan" ];
|
||||
};
|
||||
Install.WantedBy = [ "default.target" ];
|
||||
};
|
||||
};
|
||||
|
||||
systemd.user.timers = {
|
||||
mailsync = {
|
||||
Unit.Description = "Syncs emai";
|
||||
Timer = {
|
||||
OnBootSec = "1min";
|
||||
OnUnitActiveSec = "10min";
|
||||
};
|
||||
Install.WantedBy = [ "timers.target" ];
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
|
||||
# Read the Docs before change
|
||||
home.stateVersion = "23.05";
|
||||
home.homeDirectory = "/home/stitchynyan";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue