Configure redlib
This commit is contained in:
parent
1ed3a529c9
commit
a7a9567222
BIN
common/icons/libreddit.png
Normal file
BIN
common/icons/libreddit.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5 KiB |
|
@ -1,6 +1,6 @@
|
||||||
# Ports
|
# Ports
|
||||||
|
|
||||||
The idea is to always use consecutive ports, but never go back and try to recycle older no longer user ports (for the sake of keeping things clean).
|
The idea is to always use consecutive ports, but never go back and try to recycle older no longer used ports (for the sake of keeping things clean).
|
||||||
|
|
||||||
| Port | Description |
|
| Port | Description |
|
||||||
| ---- | --------------------------------------------------------------------------- |
|
| ---- | --------------------------------------------------------------------------- |
|
||||||
|
@ -19,3 +19,4 @@ The idea is to always use consecutive ports, but never go back and try to recycl
|
||||||
| 8413 | [commafeed](../hosts/nixos/lapetus/services/commafeed.nix) |
|
| 8413 | [commafeed](../hosts/nixos/lapetus/services/commafeed.nix) |
|
||||||
| 8414 | [invidious](../hosts/nixos/lapetus/services/invidious.nix) |
|
| 8414 | [invidious](../hosts/nixos/lapetus/services/invidious.nix) |
|
||||||
| 8415 | [radicale](../hosts/nixos/lapetus/services/radicale.nix) |
|
| 8415 | [radicale](../hosts/nixos/lapetus/services/radicale.nix) |
|
||||||
|
| 8416 | [redlib](../hosts/nixos/lapetus/services/redlib.nix) |
|
||||||
|
|
|
@ -20,6 +20,7 @@
|
||||||
./services/diptime.nix
|
./services/diptime.nix
|
||||||
./services/radicale.nix
|
./services/radicale.nix
|
||||||
./services/ddclient.nix
|
./services/ddclient.nix
|
||||||
|
./services/redlib.nix
|
||||||
./filesystems
|
./filesystems
|
||||||
./hardware
|
./hardware
|
||||||
];
|
];
|
||||||
|
|
|
@ -126,6 +126,12 @@ in
|
||||||
logo = icon "invidious.png";
|
logo = icon "invidious.png";
|
||||||
url = "https://yt.moonythm.dev";
|
url = "https://yt.moonythm.dev";
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
name = "Redlib";
|
||||||
|
subtitle = "Reddit client";
|
||||||
|
logo = icon "libreddit.png";
|
||||||
|
url = "https://redlib.moonythm.dev";
|
||||||
|
}
|
||||||
{
|
{
|
||||||
name = "Diptime";
|
name = "Diptime";
|
||||||
subtitle = "Diplomacy timer";
|
subtitle = "Diplomacy timer";
|
||||||
|
|
12
hosts/nixos/lapetus/services/redlib.nix
Normal file
12
hosts/nixos/lapetus/services/redlib.nix
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
{ config, pkgs, ... }: {
|
||||||
|
imports = [ ../../common/optional/services/nginx.nix ];
|
||||||
|
|
||||||
|
services.nginx.virtualHosts."redlib.moonythm.dev" =
|
||||||
|
config.satellite.proxy config.services.invidious.port { };
|
||||||
|
|
||||||
|
services.libreddit = {
|
||||||
|
enable = true;
|
||||||
|
port = 8416;
|
||||||
|
package = pkgs.redlib;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue