chore: statix is annoying

This commit is contained in:
Teesh 2026-02-06 19:50:34 +02:00
parent 2293dba219
commit 5c022c024e

View file

@ -33,14 +33,6 @@ in {
nixpkgs.overlays = [inputs.copyparty.overlays.default];
environment.systemPackages = [pkgs.copyparty];
services.copyparty.settings.xff-hdr =
if config.services.cloudflared.enable
then "cf-connecting-ip"
else null;
services.copyparty.settings.rproxy =
if config.services.cloudflared.enable
then 1
else null;
services.copyparty = {
enable = true;
settings = {
@ -50,6 +42,15 @@ in {
e2d = true;
e2t = true;
shr = "/shr";
xff-hdr =
if config.services.cloudflared.enable
then "cf-connecting-ip"
else null;
rproxy =
if config.services.cloudflared.enable
then 1
else null;
};
accounts = {
ilay.passwordFile = config.sops.secrets."copyparty/passwords/ilay".path;