mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 09:54:40 +02:00
service/freshrss: remove baseUrl setting
This commit is contained in:
parent
7fcfdf87e6
commit
f030bb79ec
2 changed files with 2 additions and 8 deletions
|
@ -67,7 +67,6 @@ in
|
|||
freshrss = {
|
||||
enable = true;
|
||||
defaultUser = "felix";
|
||||
baseUrl = "https://news.buehler.rocks";
|
||||
passwordFile = secrets."freshrss/password".path;
|
||||
};
|
||||
# self-hosted git service
|
||||
|
|
|
@ -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