mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 18:04:41 +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 = {
|
freshrss = {
|
||||||
enable = true;
|
enable = true;
|
||||||
defaultUser = "felix";
|
defaultUser = "felix";
|
||||||
baseUrl = "https://news.buehler.rocks";
|
|
||||||
passwordFile = secrets."freshrss/password".path;
|
passwordFile = secrets."freshrss/password".path;
|
||||||
};
|
};
|
||||||
# self-hosted git service
|
# self-hosted git service
|
||||||
|
|
|
@ -27,12 +27,6 @@ in
|
||||||
example = "/run/secrets/freshrss";
|
example = "/run/secrets/freshrss";
|
||||||
};
|
};
|
||||||
|
|
||||||
baseUrl = mkOption {
|
|
||||||
type = types.str;
|
|
||||||
description = "Default URL for FreshRSS.";
|
|
||||||
example = "https://freshrss.example.com";
|
|
||||||
};
|
|
||||||
|
|
||||||
language = mkOption {
|
language = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
default = "en";
|
default = "en";
|
||||||
|
@ -44,7 +38,8 @@ in
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
services.freshrss = {
|
services.freshrss = {
|
||||||
enable = true;
|
enable = true;
|
||||||
inherit (cfg) baseUrl language passwordFile defaultUser;
|
baseUrl = "https://news.${domain}";
|
||||||
|
inherit (cfg) language passwordFile defaultUser;
|
||||||
};
|
};
|
||||||
|
|
||||||
# Set up a Nginx virtual host.
|
# Set up a Nginx virtual host.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue