Compare commits

...

5 commits

Author SHA1 Message Date
c10fefd8a7
firefox: add libredirect
All checks were successful
ci/woodpecker/push/checks Pipeline was successful
2024-01-25 23:00:02 -05:00
0eed409f9c
blocky: add miniflux 2024-01-25 22:59:47 -05:00
106b5c755a
home: add nom 2024-01-25 22:59:38 -05:00
be7b8e0627
yuki: init miniflux 2024-01-25 22:59:26 -05:00
ac320e4fd6
postgres: init miniflux 2024-01-25 22:59:08 -05:00
7 changed files with 34 additions and 2 deletions

View file

@ -104,8 +104,7 @@
#utility #utility
new-tab-override new-tab-override
sponsorblock libredirect
return-youtube-dislikes
#misc #misc
tokyo-night-v2 tokyo-night-v2

View file

@ -44,6 +44,10 @@
name = "attic"; name = "attic";
ensureDBOwnership = true; ensureDBOwnership = true;
} }
{
name = "miniflux";
ensureDBOwnership = true;
}
]; ];
ensureDatabases = [ ensureDatabases = [
"forgejo" "forgejo"
@ -52,6 +56,7 @@
"authelia" "authelia"
"vaultwarden" "vaultwarden"
"attic" "attic"
"miniflux"
]; ];
}; };
services.postgresqlBackup = { services.postgresqlBackup = {

View file

@ -118,6 +118,7 @@
"prowlarr.internal.flake.sh" = "192.168.1.54"; "prowlarr.internal.flake.sh" = "192.168.1.54";
"stash.internal.flake.sh" = "192.168.1.98"; "stash.internal.flake.sh" = "192.168.1.98";
"nextcloud.internal.flake.sh" = "192.168.1.199"; "nextcloud.internal.flake.sh" = "192.168.1.199";
"news.internal.flake.sh" = "192.168.1.98";
# misc # misc

View file

@ -44,6 +44,7 @@
tigervnc tigervnc
imv imv
mpv mpv
nom
rustypaste-cli rustypaste-cli
gimp gimp
cryptomator cryptomator

View file

@ -8,5 +8,6 @@
./wallos.nix ./wallos.nix
./homepage.nix ./homepage.nix
./searxng.nix ./searxng.nix
./miniflux.nix
]; ];
} }

View 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";
};
};
}

View file

@ -45,6 +45,11 @@ _: {
entrypoints = ["web"]; entrypoints = ["web"];
service = "hass"; service = "hass";
}; };
miniflux = {
rule = "Host(`news.internal.flake.sh`)";
entrypoints = ["web"];
service = "miniflux";
};
}; };
services = { services = {
stash.loadBalancer.servers = [{url = "http://localhost:9999";}]; stash.loadBalancer.servers = [{url = "http://localhost:9999";}];
@ -54,6 +59,7 @@ _: {
wallos.loadBalancer.servers = [{url = "http://localhost:8282";}]; wallos.loadBalancer.servers = [{url = "http://localhost:8282";}];
searxng.loadBalancer.servers = [{url = "http://localhost:8100";}]; searxng.loadBalancer.servers = [{url = "http://localhost:8100";}];
hass.loadBalancer.servers = [{url = "http://localhost:8123";}]; hass.loadBalancer.servers = [{url = "http://localhost:8123";}];
miniflux.loadBalancer.servers = [{url = "http://localhost:9000";}];
}; };
}; };
}; };