Add more apps.
This commit is contained in:
parent
d58da536b1
commit
f111879b6e
20
hosts/hub/apps/actual.nix
Normal file
20
hosts/hub/apps/actual.nix
Normal file
@ -0,0 +1,20 @@
|
||||
{ config, ... }:
|
||||
|
||||
{
|
||||
systemd.tmpfiles.rules = [
|
||||
"d /var/lib/actual 0755 root root"
|
||||
];
|
||||
|
||||
virtualisation.oci-containers.containers.actual = {
|
||||
image = "actualbudget/actual-server:latest";
|
||||
ports = [
|
||||
"5006:5006"
|
||||
];
|
||||
volumes = [ "/var/lib/actual:/data" ];
|
||||
};
|
||||
|
||||
services.caddy.virtualHosts."https://budget.tailc50184.ts.net".extraConfig = ''
|
||||
bind tailscale/budget
|
||||
reverse_proxy http://localhost:5006
|
||||
'';
|
||||
}
|
@ -1,19 +1,10 @@
|
||||
{ config, ... }:
|
||||
|
||||
{
|
||||
systemd.tmpfiles.rules = [
|
||||
"d /var/lib/searxng 0755 root root"
|
||||
];
|
||||
|
||||
virtualisation.oci-containers.containers.searxng = {
|
||||
image = "searxng/searxng:latest";
|
||||
environment = {
|
||||
BASE_URL = "https://searxng.tailc50184.ts.net";
|
||||
services.searx = {
|
||||
enable = true;
|
||||
settings.server = {
|
||||
port = 8080;
|
||||
secret_key = "secret_key";
|
||||
};
|
||||
ports = [
|
||||
"8080:8080"
|
||||
];
|
||||
volumes = [ "/var/lib/searxng:/etc/searxng" ];
|
||||
};
|
||||
|
||||
services.caddy.virtualHosts."https://searxng.tailc50184.ts.net".extraConfig = ''
|
||||
|
@ -23,6 +23,7 @@
|
||||
./apps/dev.nix
|
||||
./apps/nextcloud.nix
|
||||
./apps/searxng.nix
|
||||
./apps/actual.nix
|
||||
];
|
||||
|
||||
boot.loader.grub = {
|
||||
|
Loading…
Reference in New Issue
Block a user