mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-10-30 09:22:11 +01:00
service/freshrss: remove baseUrl setting
This commit is contained in:
parent
7fcfdf87e6
commit
f030bb79ec
2 changed files with 2 additions and 8 deletions
|
|
@ -27,12 +27,6 @@ in
|
|||
example = "/run/secrets/freshrss";
|
||||
};
|
||||
|
||||
baseUrl = mkOption {
|
||||
type = types.str;
|
||||
description = "Default URL for FreshRSS.";
|
||||
example = "https://freshrss.example.com";
|
||||
};
|
||||
|
||||
language = mkOption {
|
||||
type = types.str;
|
||||
default = "en";
|
||||
|
|
@ -44,7 +38,8 @@ in
|
|||
config = lib.mkIf cfg.enable {
|
||||
services.freshrss = {
|
||||
enable = true;
|
||||
inherit (cfg) baseUrl language passwordFile defaultUser;
|
||||
baseUrl = "https://news.${domain}";
|
||||
inherit (cfg) language passwordFile defaultUser;
|
||||
};
|
||||
|
||||
# Set up a Nginx virtual host.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue