freshrss on alexandria
This commit is contained in:
parent
a649155b40
commit
4cb9d12ac8
4 changed files with 37 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";
|
||||
};
|
||||
}
|
||||
|
|
@ -38,5 +38,10 @@
|
|||
domain = "jellyfin.baduhai.dev";
|
||||
host = "alexandria";
|
||||
}
|
||||
{
|
||||
name = "freshrss";
|
||||
domain = "rss.baduhai.dev";
|
||||
host = "alexandria";
|
||||
}
|
||||
];
|
||||
}
|
||||
|
|
|
|||
BIN
secrets/freshrss-adminpass.age
Normal file
BIN
secrets/freshrss-adminpass.age
Normal file
Binary file not shown.
|
|
@ -32,4 +32,9 @@ in
|
|||
rotterdam-user
|
||||
trantor
|
||||
];
|
||||
"freshrss-adminpass.age".publicKeys = [
|
||||
io-user
|
||||
rotterdam-user
|
||||
alexandria
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue