mirror of
https://github.com/dump-dvb/nix-config.git
synced 2024-06-08 01:07:16 +02:00
adding ftp for data downloads
This commit is contained in:
commit
7b0207371d
|
@ -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
11
modules/ftp.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{pkgs, lib, ...} : {
|
||||
|
||||
services = {
|
||||
vsftpd = {
|
||||
enable = true;
|
||||
localUsers = false;
|
||||
localRoot = "/var/lib/data-accumulator";
|
||||
};
|
||||
};
|
||||
|
||||
}
|
|
@ -9,7 +9,7 @@
|
|||
locations = {
|
||||
"/" = {
|
||||
root = "${pkgs.windshield}/bin/";
|
||||
index = "index.html"
|
||||
index = "index.html";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user