mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-11 09:44:08 -05:00
add freshrss
This commit is contained in:
parent
432211ed27
commit
47eca0500b
3 changed files with 22 additions and 4 deletions
8
flake.lock
generated
8
flake.lock
generated
|
|
@ -387,11 +387,11 @@
|
|||
"nixpkgs": "nixpkgs_5"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1762789556,
|
||||
"narHash": "sha256-qupzcnXM2ndlNZmuR3qBuePZ+bom+CJ6ApH/kEHBA/4=",
|
||||
"lastModified": 1763562626,
|
||||
"narHash": "sha256-QW5JDRm5UyCOqq6Ccuh33az67gKF5YYGsk/KX9cOlvI=",
|
||||
"ref": "refs/heads/master",
|
||||
"rev": "e90fa77845b9895fd9139b92c71918891633225b",
|
||||
"revCount": 152,
|
||||
"rev": "f225abc854bce2a40e0b6fbd3ec00a9ac2c43213",
|
||||
"revCount": 153,
|
||||
"type": "git",
|
||||
"url": "ssh://git@github.com/TheWanderingCrow/nix-secrets"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -58,6 +58,7 @@
|
|||
"modules/services/ollama/proxy.nix" # Just host the proxy path back to Parzival
|
||||
"modules/services/netbox"
|
||||
"modules/services/matrix"
|
||||
"modules/services/freshrss"
|
||||
"modules/services/forgejo"
|
||||
"modules/services/flamesites"
|
||||
])
|
||||
|
|
|
|||
17
modules/services/freshrss/default.nix
Normal file
17
modules/services/freshrss/default.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{ config, inputs, ... }:
|
||||
let
|
||||
sopsFolder = inputs.nix-secrets + "/sops";
|
||||
in
|
||||
{
|
||||
sops.secrets."freshrss/pass" = {
|
||||
sopsFile = "${sopsFolder}/services.yaml";
|
||||
owner = "freshrss";
|
||||
};
|
||||
services.freshrss = {
|
||||
enable = true;
|
||||
baseUrl = "https://rss.wanderingcrow.net";
|
||||
webserver = "caddy";
|
||||
virtualHost = config.services.freshrss.baseUrl;
|
||||
passwordFile = config.sops.secrets."freshrss/pass".path;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue