adding ftp for data downloads

This commit is contained in:
Tassilo - 2022-05-02 17:37:41 +02:00
commit 7b0207371d
Signed by: revol-xut
GPG Key ID: 4F56FF7759627D07
3 changed files with 13 additions and 1 deletions

View File

@ -106,6 +106,7 @@
./modules/wireguard_server.nix
./modules/public_api.nix
./modules/map.nix
./modules/ftp.nix
./modules/numbering.nix
{
nixpkgs.overlays = [ data-accumulator.overlay."x86_64-linux" dvb-api.overlay."x86_64-linux" windshield.overlay."x86_64-linux" ];

11
modules/ftp.nix Normal file
View File

@ -0,0 +1,11 @@
{pkgs, lib, ...} : {
services = {
vsftpd = {
enable = true;
localUsers = false;
localRoot = "/var/lib/data-accumulator";
};
};
}

View File

@ -9,7 +9,7 @@
locations = {
"/" = {
root = "${pkgs.windshield}/bin/";
index = "index.html"
index = "index.html";
};
};
};