dotnix/machines/dragonwell/miniserve.nix

27 lines
591 B
Nix

{
services = {
miniserve = {
enable = true;
port = 3453;
showHidden = true;
uploadFiles = "";
mkdir = true;
overwriteFiles = true;
enableTar = true;
enableTarGz = true;
enableZip = true;
dirsFirst = true;
title = "Files";
hideThemeSelector = true;
hideVersionFooter = true;
readme = true;
};
tailproxy.miniserve = {
enable = true;
hostname = "files";
port = 3453;
authKey = "tskey-auth-kNNZJXfSDb11CNTRL-DsdZPygdA7Lrye5WJjnr6LGNffgzo3PUH"; # One-time key
};
};
}