archive a few unused modules

This commit is contained in:
Yan Lin 2025-12-11 21:22:05 +01:00
parent 46f98a4be4
commit 36a0de496b
9 changed files with 1 additions and 7 deletions

25
archive/miniflux.nix Normal file
View file

@ -0,0 +1,25 @@
{ config, lib, ... }:
let
cfg = config.services.miniflux-custom;
in
{
options.services.miniflux-custom = {
port = lib.mkOption {
type = lib.types.port;
default = 8070;
description = "Port for Miniflux to listen on";
};
};
config = {
services.miniflux = {
enable = true;
adminCredentialsFile = "/etc/miniflux-admin-credentials";
config = {
LISTEN_ADDR = "0.0.0.0:${toString cfg.port}";
BASE_URL = "https://rss.yanlincs.com";
};
};
};
}