fix(deertopia): Jellyfin and Copyparty umasks
This commit is contained in:
@@ -19,9 +19,18 @@ in {
|
||||
|
||||
nixpkgs.overlays = [ inputs.copyparty.overlays.default ];
|
||||
|
||||
# HACK: Ad-hoc permissions, as typical.
|
||||
users.users.copyparty.extraGroups = [ "jellyfin" ];
|
||||
|
||||
# HACK: Make files created by copypaste.service initialise with the mode
|
||||
# 775.
|
||||
systemd.services.copyparty.serviceConfig.UMask = lib.mkForce "002";
|
||||
|
||||
services.copyparty = {
|
||||
enable = true;
|
||||
settings = {
|
||||
# These three options are necessary for SSO integration. No idea what
|
||||
# they do. }:)
|
||||
xff-src = "lan";
|
||||
idp-h-usr = "remote-user";
|
||||
idp-h-grp = "remote-groups";
|
||||
@@ -42,6 +51,8 @@ in {
|
||||
enableACME = true;
|
||||
extraConfig = ''
|
||||
include ${./authelia/authelia-location.conf};
|
||||
# Increase limit of upload sizes.
|
||||
client_max_body_size 20G;
|
||||
'';
|
||||
locations."/".extraConfig = ''
|
||||
include ${./authelia/authelia-authrequest.conf};
|
||||
|
||||
Reference in New Issue
Block a user