Primetime
This commit is contained in:
parent
a2dc4be9ab
commit
408ae8df77
1 changed files with 6 additions and 1 deletions
|
@ -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
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue