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