TITAN/fbi-downloader: remove nfs connection
This commit is contained in:
parent
fc4236d902
commit
926bbdd03e
2 changed files with 0 additions and 35 deletions
|
@ -6,10 +6,6 @@
|
|||
file = ../../../secrets/transmission-rpc-password.age;
|
||||
mode = "0400";
|
||||
};
|
||||
wireguard-key-upload = {
|
||||
file = ../../../secrets/wireguard-key-upload.age;
|
||||
mode = "0400";
|
||||
};
|
||||
};
|
||||
|
||||
users.groups.mediamanagers = {
|
||||
|
@ -40,37 +36,6 @@
|
|||
};
|
||||
credentialsFile = config.age.secrets.transmission-rpc-password.path;
|
||||
};
|
||||
systemd.services.transmission = {
|
||||
after = [ "mnt-media\\x2duploads.mount" ];
|
||||
unitConfig = {
|
||||
RequiresMountsFor = [ "/mnt/media-uploads" ];
|
||||
};
|
||||
serviceConfig = {
|
||||
BindPaths = [ "/mnt/media-uploads" ];
|
||||
};
|
||||
};
|
||||
|
||||
networking.firewall.interfaces.tungsten.allowedTCPPorts = [ 9091 ];
|
||||
networking.wireguard = {
|
||||
enable = true;
|
||||
interfaces.wgupload = {
|
||||
ips = [ "10.150.0.2/24" ];
|
||||
privateKeyFile = config.age.secrets.wireguard-key-upload.path;
|
||||
allowedIPsAsRoutes = true;
|
||||
postSetup = "${pkgs.iproute2}/bin/ip link set mtu 1200 wgupload";
|
||||
peers = [
|
||||
{
|
||||
publicKey = "apKXnlMtcOe8WqCVXJAXEjzppN+qTmESlt0NjMTaclQ=";
|
||||
allowedIPs = [ "10.150.0.0/24" ];
|
||||
endpoint = "116.202.226.86:6969";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
fileSystems."/mnt/media-uploads" = {
|
||||
device = "10.150.0.254:/mnt/storage/media/media/uploads";
|
||||
fsType = "nfs4";
|
||||
noCheck = true;
|
||||
options = [ "rsize=1024" "wsize=1024" "x-systemd.after=wireguard-wgupload.service" "x-systemd.mount-timeout=10s" ];
|
||||
};
|
||||
}
|
||||
|
|
Binary file not shown.
Loading…
Reference in a new issue