Primetime

This commit is contained in:
Daniel Flanagan 2023-10-04 21:34:20 -05:00
parent a2dc4be9ab
commit 408ae8df77
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4

View file

@ -116,6 +116,7 @@
# TODO: non-root processes and services that access secrets need to be part of
# the 'keys' group
# maybe this will fix plausible?
# systemd.services.some-service = {
# serviceConfig.SupplementaryGroups = [ config.users.groups.keys.name ];
@ -231,10 +232,12 @@
services.caddy = {
enable = true;
email = "daniel@lyte.dev";
adapter = "caddyfile";
# acmeCA = "https://acme-staging-v02.api.letsencrypt.org/directory";
# TODO: there are some hardcoded ports here!
# https://github.com/NixOS/nixpkgs/blob/04af42f3b31dba0ef742d254456dc4c14eedac86/nixos/modules/services/misc/lidarr.nix#L72
# TODO: customize the files.lyte.dev template?
configFile = pkgs.writeText "Caddyfile" ''
video.lyte.dev {
reverse_proxy :8096
@ -274,6 +277,8 @@
files.lyte.dev {
file_server browse {
# browse template
# hide .*
root /storage/files.lyte.dev
}
}
@ -431,7 +436,7 @@
services.jellyfin = {
enable = true;
openFirewall = true;
openFirewall = false;
# uses port 8096 by default, configurable from admin UI
};