add a config for jdownloader

This commit is contained in:
Andreas Zweili 2022-02-28 11:52:04 +01:00
parent 5b9a619688
commit f9490a9f9e
3 changed files with 25 additions and 0 deletions

View File

@ -234,6 +234,16 @@
[
./modules/restic-server
];
jdownloader = mkComputer
(mkVM
{ hostname = "jdownloader"; ip = "10.7.89.110"; inherit custom inputs; })
./home-manager/headless.nix
[
./modules/docker
./modules/download-share
./modules/jdownloader
];
};
homeConfigurations = {
"${custom.username}@co-ws-con4" = home-manager.lib.homeManagerConfiguration {

View File

@ -0,0 +1,7 @@
{ ... }:
{
fileSystems."/mnt/media" = {
device = "10.7.89.108:media/downloads";
fsType = "nfs";
};
}

View File

@ -0,0 +1,8 @@
{ ... }:
{
networking = {
firewall.allowedTCPPorts = [
3129 # my.jdownloader.org
];
};
}