mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-11 01:34:08 -05:00
add freshrss
This commit is contained in:
parent
432211ed27
commit
47eca0500b
3 changed files with 22 additions and 4 deletions
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