diff options
Diffstat (limited to 'hosts')
| -rw-r--r-- | hosts/icon/configuration.nix | 26 | ||||
| -rw-r--r-- | hosts/nepsis/configuration.nix | 2 |
2 files changed, 27 insertions, 1 deletions
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 |
