mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-11 09:44:08 -05:00
17 lines
424 B
Nix
17 lines
424 B
Nix
{ 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;
|
|
};
|
|
}
|