diff options
| author | Skullheadx <admonty1@protonmail.com> | 2026-05-04 19:11:05 -0400 |
|---|---|---|
| committer | Skullheadx <admonty1@protonmail.com> | 2026-05-04 19:11:05 -0400 |
| commit | b4f56054eed4d9f5c54997a75ba076e24a3a39a1 (patch) | |
| tree | 0ed3517d6a69be501a325187e987344d9a71dd61 | |
| parent | move sxhkd to x11 config, update surf search (diff) | |
| download | nixos-b4f56054eed4d9f5c54997a75ba076e24a3a39a1.tar.gz nixos-b4f56054eed4d9f5c54997a75ba076e24a3a39a1.tar.bz2 nixos-b4f56054eed4d9f5c54997a75ba076e24a3a39a1.zip | |
sfeed update timer systemd
| -rw-r--r-- | hjem.nix | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -38,4 +38,23 @@ ]; }; + systemd.user.services."sfeed-update" = { + description = "Update sfeed RSS feeds"; + path = with pkgs; [ curl sfeed coreutils]; + serviceConfig = { + Type = "oneshot"; + ExecStart = "${pkgs.sfeed}/bin/sfeed_update"; + }; + }; + + systemd.user.timers."sfeed-update" = { + description = "Run sfeed_update daily"; + timerConfig = { + OnCalendar = "daily"; + Persistent = true; + }; + wantedBy = [ "timers.target" ]; + }; + + } |
