use newest freshrss

This commit is contained in:
Cyryl Płotnicki 2023-11-12 11:53:05 +00:00
parent 1c63a2a522
commit 1228a5ba04

View file

@ -2,12 +2,14 @@
config, config,
pkgs, pkgs,
inputs, inputs,
system,
lib, lib,
... ...
}: let }: let
domain = "news.cyplo.dev"; domain = "news.cyplo.dev";
in { in {
imports = [../nginx.nix]; disabledModules = ["services/web-apps/freshrss.nix"];
imports = [../nginx.nix "${inputs.nixpkgs-nixos-unstable}/nixos/modules/services/web-apps/freshrss.nix"];
services.nginx.virtualHosts."${domain}" = { services.nginx.virtualHosts."${domain}" = {
forceSSL = true; forceSSL = true;
@ -19,6 +21,7 @@ in {
}; };
services.freshrss = { services.freshrss = {
enable = true; enable = true;
package = inputs.nixpkgs-nixos-unstable.legacyPackages."${system}".freshrss;
virtualHost = domain; virtualHost = domain;
baseUrl = "https://${domain}"; baseUrl = "https://${domain}";
database.type = "sqlite"; database.type = "sqlite";