Update from updated-inputs-2025-01-07-02-03
This commit is contained in:
commit
ad4e357a31
6
flake.lock
generated
6
flake.lock
generated
@ -542,11 +542,11 @@
|
||||
},
|
||||
"nixpkgs_3": {
|
||||
"locked": {
|
||||
"lastModified": 1735834308,
|
||||
"narHash": "sha256-dklw3AXr3OGO4/XT1Tu3Xz9n/we8GctZZ75ZWVqAVhk=",
|
||||
"lastModified": 1736012469,
|
||||
"narHash": "sha256-/qlNWm/IEVVH7GfgAIyP6EsVZI6zjAx1cV5zNyrs+rI=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "6df24922a1400241dae323af55f30e4318a6ca65",
|
||||
"rev": "8f3e1f807051e32d8c95cd12b9b421623850a34d",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -9,6 +9,7 @@
|
||||
users.groups."feeds" = {};
|
||||
|
||||
systemd.tmpfiles.rules = [
|
||||
"d /data/feeds 0775 root users - -"
|
||||
"d /var/lib/feeds - feeds feeds - -"
|
||||
];
|
||||
|
||||
@ -31,7 +32,7 @@
|
||||
User = "feeds";
|
||||
Group = "feeds";
|
||||
ExecStart = ''
|
||||
${pkgs.feeds-dir}/bin/feeds-dir
|
||||
${pkgs.feeds-dir}/bin/feeds-dir /data/feeds
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
@ -2,6 +2,8 @@
|
||||
|
||||
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
|
||||
done
|
||||
|
Loading…
x
Reference in New Issue
Block a user