Compare commits
5 commits
ef0d474c1b
...
c10fefd8a7
Author | SHA1 | Date | |
---|---|---|---|
c10fefd8a7 | |||
0eed409f9c | |||
106b5c755a | |||
be7b8e0627 | |||
ac320e4fd6 |
7 changed files with 34 additions and 2 deletions
|
@ -104,8 +104,7 @@
|
|||
|
||||
#utility
|
||||
new-tab-override
|
||||
sponsorblock
|
||||
return-youtube-dislikes
|
||||
libredirect
|
||||
|
||||
#misc
|
||||
tokyo-night-v2
|
||||
|
|
|
@ -44,6 +44,10 @@
|
|||
name = "attic";
|
||||
ensureDBOwnership = true;
|
||||
}
|
||||
{
|
||||
name = "miniflux";
|
||||
ensureDBOwnership = true;
|
||||
}
|
||||
];
|
||||
ensureDatabases = [
|
||||
"forgejo"
|
||||
|
@ -52,6 +56,7 @@
|
|||
"authelia"
|
||||
"vaultwarden"
|
||||
"attic"
|
||||
"miniflux"
|
||||
];
|
||||
};
|
||||
services.postgresqlBackup = {
|
||||
|
|
|
@ -118,6 +118,7 @@
|
|||
"prowlarr.internal.flake.sh" = "192.168.1.54";
|
||||
"stash.internal.flake.sh" = "192.168.1.98";
|
||||
"nextcloud.internal.flake.sh" = "192.168.1.199";
|
||||
"news.internal.flake.sh" = "192.168.1.98";
|
||||
|
||||
# misc
|
||||
|
||||
|
|
|
@ -44,6 +44,7 @@
|
|||
tigervnc
|
||||
imv
|
||||
mpv
|
||||
nom
|
||||
rustypaste-cli
|
||||
gimp
|
||||
cryptomator
|
||||
|
|
|
@ -8,5 +8,6 @@
|
|||
./wallos.nix
|
||||
./homepage.nix
|
||||
./searxng.nix
|
||||
./miniflux.nix
|
||||
];
|
||||
}
|
||||
|
|
19
hosts/yuki/services/miniflux.nix
Normal file
19
hosts/yuki/services/miniflux.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
networking.firewall.allowedTCPPorts = [9000];
|
||||
|
||||
sops.secrets.miniflux = {};
|
||||
|
||||
services.miniflux = {
|
||||
enable = true;
|
||||
adminCredentialsFile = config.sops.secrets.miniflux.path;
|
||||
config = {
|
||||
LISTEN_ADDR = "0.0.0.0";
|
||||
PORT = 9000;
|
||||
DATABASE_URL = lib.mkForce "host=192.168.1.211 port=5432 user=miniflux password=miniflux dbname=miniflux sslmode=disable";
|
||||
};
|
||||
};
|
||||
}
|
|
@ -45,6 +45,11 @@ _: {
|
|||
entrypoints = ["web"];
|
||||
service = "hass";
|
||||
};
|
||||
miniflux = {
|
||||
rule = "Host(`news.internal.flake.sh`)";
|
||||
entrypoints = ["web"];
|
||||
service = "miniflux";
|
||||
};
|
||||
};
|
||||
services = {
|
||||
stash.loadBalancer.servers = [{url = "http://localhost:9999";}];
|
||||
|
@ -54,6 +59,7 @@ _: {
|
|||
wallos.loadBalancer.servers = [{url = "http://localhost:8282";}];
|
||||
searxng.loadBalancer.servers = [{url = "http://localhost:8100";}];
|
||||
hass.loadBalancer.servers = [{url = "http://localhost:8123";}];
|
||||
miniflux.loadBalancer.servers = [{url = "http://localhost:9000";}];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue