chore: statix is annoying
This commit is contained in:
parent
2293dba219
commit
5c022c024e
1 changed files with 9 additions and 8 deletions
|
|
@ -33,14 +33,6 @@ in {
|
||||||
|
|
||||||
nixpkgs.overlays = [inputs.copyparty.overlays.default];
|
nixpkgs.overlays = [inputs.copyparty.overlays.default];
|
||||||
environment.systemPackages = [pkgs.copyparty];
|
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 = {
|
services.copyparty = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
|
|
@ -50,6 +42,15 @@ in {
|
||||||
e2d = true;
|
e2d = true;
|
||||||
e2t = true;
|
e2t = true;
|
||||||
shr = "/shr";
|
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 = {
|
accounts = {
|
||||||
ilay.passwordFile = config.sops.secrets."copyparty/passwords/ilay".path;
|
ilay.passwordFile = config.sops.secrets."copyparty/passwords/ilay".path;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue