1
0

Update from updated-inputs-2025-01-07-02-03

This commit is contained in:
Flake Update Bot 2025-01-07 03:04:05 +01:00
commit ad4e357a31
3 changed files with 8 additions and 5 deletions

6
flake.lock generated
View File

@ -542,11 +542,11 @@
}, },
"nixpkgs_3": { "nixpkgs_3": {
"locked": { "locked": {
"lastModified": 1735834308, "lastModified": 1736012469,
"narHash": "sha256-dklw3AXr3OGO4/XT1Tu3Xz9n/we8GctZZ75ZWVqAVhk=", "narHash": "sha256-/qlNWm/IEVVH7GfgAIyP6EsVZI6zjAx1cV5zNyrs+rI=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "6df24922a1400241dae323af55f30e4318a6ca65", "rev": "8f3e1f807051e32d8c95cd12b9b421623850a34d",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@ -9,6 +9,7 @@
users.groups."feeds" = {}; users.groups."feeds" = {};
systemd.tmpfiles.rules = [ systemd.tmpfiles.rules = [
"d /data/feeds 0775 root users - -"
"d /var/lib/feeds - feeds feeds - -" "d /var/lib/feeds - feeds feeds - -"
]; ];
@ -31,7 +32,7 @@
User = "feeds"; User = "feeds";
Group = "feeds"; Group = "feeds";
ExecStart = '' ExecStart = ''
${pkgs.feeds-dir}/bin/feeds-dir ${pkgs.feeds-dir}/bin/feeds-dir /data/feeds
''; '';
}; };
}; };

View File

@ -2,6 +2,8 @@
set -euo pipefail set -euo pipefail
for file in ./*.txt; do IN_DIR="${1:-.}"
for file in "${IN_DIR}"/*.txt; do
rainbowrss --feeds "${file}" --out "$(basename "${file}" ".txt").html" || true rainbowrss --feeds "${file}" --out "$(basename "${file}" ".txt").html" || true
done done