From 0197478c88887fe009af5c4bb0d7c6b3ce751593 Mon Sep 17 00:00:00 2001 From: Skullheadx Date: Sat, 6 Jun 2026 14:08:18 -0400 Subject: sfeed moved to homelab --- hosts/icon/configuration.nix | 26 ++++++++++++++++++++++++++ hosts/nepsis/configuration.nix | 2 +- 2 files changed, 27 insertions(+), 1 deletion(-) (limited to 'hosts') diff --git a/hosts/icon/configuration.nix b/hosts/icon/configuration.nix index f15fbf2..2d5de79 100644 --- a/hosts/icon/configuration.nix +++ b/hosts/icon/configuration.nix @@ -153,6 +153,31 @@ fsType = "ext4"; options = ["defaults" "nofail"]; }; + + # RSS sfeed + + 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"]; + }; + networking.hostName = "icon"; # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. @@ -167,6 +192,7 @@ nfs-utils btop nethogs + sfeed ]; programs.git = { diff --git a/hosts/nepsis/configuration.nix b/hosts/nepsis/configuration.nix index e82e7a3..3ce34ad 100644 --- a/hosts/nepsis/configuration.nix +++ b/hosts/nepsis/configuration.nix @@ -127,7 +127,7 @@ environment.sessionVariables = { BROWSER = "surf"; SFEED_PLUMBER = "$BROWSER"; - SFEED_URL_FILE = "$HOME/.local/share/sfeed/sfeed_read_url_file"; + SFEED_URL_FILE = "/mnt/data/sfeed/sfeed_read_url_file"; }; # Some programs need SUID wrappers, can be configured further or are -- cgit v1.3.1