chore(hakurei): plex access

This commit is contained in:
arcnmx 2024-01-22 15:38:30 -08:00
parent ba7f32ddcb
commit fa43ee87de
3 changed files with 8 additions and 2 deletions

View file

@ -1,6 +1,7 @@
{
config,
meta,
access,
...
}: {
imports = let
@ -13,6 +14,7 @@
nixos.cloudflared
nixos.nginx
nixos.access.proxmox
nixos.access.plex
];
sops.secrets.cloudflared-tunnel-hakurei = {
@ -31,6 +33,12 @@
};
};
services.nginx.access = {
plex.url = let
system = access.systemFor "mediabox";
in "http://${system.networking.access.hostnameForNetwork.local}:32400";
};
systemd.network.networks.eth0 = {
name = "eth0";
matchConfig = {