1
0
Fork 0

homepage-dashboard: remove

This commit is contained in:
Daniel Kempkens 2023-05-21 17:43:01 +02:00
parent 56f495cf9d
commit 3572bc53b8
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM
6 changed files with 0 additions and 63 deletions

View file

@ -31,23 +31,5 @@
owner = "media_user"; owner = "media_user";
group = "media_group"; group = "media_group";
}; };
homepage-dashboard-services = {
file = ./homepage-dashboard/services.age;
symlink = false;
path = "/var/lib/homepage-dashboard/services.yaml";
mode = "640";
owner = "media_user";
group = "media_group";
};
homepage-dashboard-bookmarks = {
file = ./homepage-dashboard/bookmarks.age;
symlink = false;
path = "/var/lib/homepage-dashboard/bookmarks.yaml";
mode = "640";
owner = "media_user";
group = "media_group";
};
}; };
} }

View file

@ -1,41 +0,0 @@
{ lib, ... }:
{
systemd.tmpfiles.rules = [
"d /var/lib/homepage-dashboard 0755 media_user media_group"
];
virtualisation.oci-containers.containers.homepage-dashboard = {
image = "ghcr.io/benphelps/homepage:latest";
ports = [ "127.0.0.1:9888:3000" ];
environment = {
"PUID" = "1001";
"PGID" = "2001";
};
volumes = [
"/var/lib/homepage-dashboard:/app/config"
];
};
systemd.services.podman-homepage-dashboard.serviceConfig = {
TimeoutStopSec = lib.mkForce 5;
};
networking.firewall.interfaces."podman+" = {
allowedUDPPorts = [ 443 9920 ];
allowedTCPPorts = [ 443 9920 ];
};
services.nginx.virtualHosts."homepage.internal.kempkens.network" = {
quic = true;
http3 = true;
onlySSL = true;
useACMEHost = "internal.kempkens.network";
locations."/" = {
recommendedProxySettings = true;
proxyPass = "http://127.0.0.1:9888";
};
};
}

View file

@ -69,7 +69,4 @@ in
"agenix/hosts/mediaserver/tubearchivist/environmentES.age".publicKeys = mediaserver; "agenix/hosts/mediaserver/tubearchivist/environmentES.age".publicKeys = mediaserver;
"agenix/hosts/mediaserver/aria2/config.age".publicKeys = mediaserver; "agenix/hosts/mediaserver/aria2/config.age".publicKeys = mediaserver;
"agenix/hosts/mediaserver/homepage-dashboard/services.age".publicKeys = mediaserver;
"agenix/hosts/mediaserver/homepage-dashboard/bookmarks.age".publicKeys = mediaserver;
} }

View file

@ -34,7 +34,6 @@ in
../nixos/aria2.nix ../nixos/aria2.nix
../nixos/container.nix ../nixos/container.nix
../../container/homepage-dashboard
../../container/tubearchivist ../../container/tubearchivist
../../container/autobrr ../../container/autobrr
../../secret/container/additional-media ../../secret/container/additional-media