freshrss on alexandria
This commit is contained in:
parent
a649155b40
commit
5334297b9d
4 changed files with 42 additions and 0 deletions
27
aspects/hosts/_alexandria/freshrss.nix
Normal file
27
aspects/hosts/_alexandria/freshrss.nix
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
config,
|
||||
inputs,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
imports = [ inputs.nixpkgs-stable.nixosModules.freshrss ];
|
||||
|
||||
services.freshrss = {
|
||||
enable = true;
|
||||
defaultUser = "admin";
|
||||
passwordFile = config.age.secrets.freshrss-adminpass.path;
|
||||
baseUrl = "https://rss.baduhai.dev";
|
||||
dataDir = "/data/freshrss";
|
||||
webserver = "nginx";
|
||||
virtualHost = "rss.baduhai.dev";
|
||||
};
|
||||
|
||||
age.secrets.freshrss-adminpass = {
|
||||
file = "${inputs.self}/secrets/freshrss-adminpass.age";
|
||||
owner = "freshrss";
|
||||
group = "freshrss";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue