summaryrefslogtreecommitdiffstats
path: root/hjem.nix
diff options
context:
space:
mode:
authorSkullheadx <admonty1@protonmail.com>2026-05-04 19:11:05 -0400
committerSkullheadx <admonty1@protonmail.com>2026-05-04 19:11:05 -0400
commitb4f56054eed4d9f5c54997a75ba076e24a3a39a1 (patch)
tree0ed3517d6a69be501a325187e987344d9a71dd61 /hjem.nix
parentmove sxhkd to x11 config, update surf search (diff)
downloadnixos-b4f56054eed4d9f5c54997a75ba076e24a3a39a1.tar.gz
nixos-b4f56054eed4d9f5c54997a75ba076e24a3a39a1.tar.bz2
nixos-b4f56054eed4d9f5c54997a75ba076e24a3a39a1.zip
sfeed update timer systemd
Diffstat (limited to '')
-rw-r--r--hjem.nix19
1 files changed, 19 insertions, 0 deletions
diff --git a/hjem.nix b/hjem.nix
index 67a55f5..c0d5219 100644
--- a/hjem.nix
+++ b/hjem.nix
@@ -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" ];
+ };
+
+
}