This commit is contained in:
xunuwu 2025-03-14 17:22:35 +01:00
parent 58e9a46c46
commit a12bc16792
Signed by: xun
SSH key fingerprint: SHA256:Uot/1WoAjWAeqLOHA5vYy4phhVydsH7jCPmBjaPZfgI
6 changed files with 57 additions and 0 deletions

View file

@ -27,6 +27,13 @@ in {
reverse_proxy unix//var/lib/navidrome/navidrome.sock
'';
};
miniflux = {
useACMEHost = domain;
hostName = "mf.${domain}:${toString caddyPort}";
extraConfig = ''
reverse_proxy unix/${config.services.miniflux.config.LISTEN_ADDR}
'';
};
slskd = {
hostName = "slskd.hopper.xun.host:80";
extraConfig = ''

View file

@ -12,6 +12,7 @@
./restic.nix
./samba.nix
./slskd.nix
./miniflux.nix
./transmission.nix
./vaultwarden.nix
./vpn-namespace.nix

View file

@ -50,6 +50,12 @@
icon = "navidrome";
};
}
{
"miniflux" = {
href = "https://mf.xunuwu.xyz";
icon = "miniflux";
};
}
{
"adguard home" = {
href = "http://${config.networking.hostName}:${toString config.services.adguardhome.port}";

View file

@ -0,0 +1,15 @@
{
config,
lib,
...
}: {
systemd.services.miniflux.serviceConfig.RuntimeDirectoryMode = lib.mkForce "0755";
services.miniflux = {
enable = true;
adminCredentialsFile = config.sops.secrets.miniflux.path;
config = {
LISTEN_ADDR = "/run/miniflux/miniflux.sock";
};
};
}