diff --git a/secret/container/additional-media/default.nix b/secret/container/additional-media/default.nix index a2626fa..9416298 100644 Binary files a/secret/container/additional-media/default.nix and b/secret/container/additional-media/default.nix differ diff --git a/system/nixos/mediaserver-setup.nix b/system/nixos/mediaserver-setup.nix index b6a9218..fe458e5 100644 --- a/system/nixos/mediaserver-setup.nix +++ b/system/nixos/mediaserver-setup.nix @@ -22,6 +22,7 @@ systemd = { mounts = [ { + wantedBy = [ "multi-user.target" ]; type = "nfs"; mountConfig = { Options = "noatime,nconnect=16"; @@ -31,6 +32,7 @@ } { + wantedBy = [ "multi-user.target" ]; type = "nfs"; mountConfig = { Options = "noatime,nconnect=16"; @@ -40,6 +42,7 @@ } { + wantedBy = [ "multi-user.target" ]; type = "nfs"; mountConfig = { Options = "noatime,nconnect=16"; @@ -49,6 +52,7 @@ } { + wantedBy = [ "multi-user.target" ]; type = "nfs"; mountConfig = { Options = "noatime,nconnect=16"; @@ -58,6 +62,7 @@ } { + wantedBy = [ "multi-user.target" ]; type = "nfs"; mountConfig = { Options = "noatime,nconnect=16"; @@ -67,6 +72,7 @@ } { + wantedBy = [ "multi-user.target" ]; type = "nfs"; mountConfig = { Options = "noatime,nconnect=16"; @@ -76,6 +82,7 @@ } { + wantedBy = [ "multi-user.target" ]; type = "nfs"; mountConfig = { Options = "noatime,nconnect=16"; @@ -85,6 +92,7 @@ } { + wantedBy = [ "multi-user.target" ]; type = "nfs"; mountConfig = { Options = "noatime,nconnect=16"; @@ -93,47 +101,5 @@ where = "/mnt/media/YTDL"; } ]; - - automounts = [ - { - wantedBy = [ "multi-user.target" ]; - where = "/mnt/downloads"; - } - - { - wantedBy = [ "multi-user.target" ]; - where = "/mnt/media/TV Shows"; - } - - { - wantedBy = [ "multi-user.target" ]; - where = "/mnt/media/Documentaries"; - } - - { - wantedBy = [ "multi-user.target" ]; - where = "/mnt/media/Anime"; - } - - { - wantedBy = [ "multi-user.target" ]; - where = "/mnt/media/Movies"; - } - - { - wantedBy = [ "multi-user.target" ]; - where = "/mnt/media/Deutsche Serien"; - } - - { - wantedBy = [ "multi-user.target" ]; - where = "/mnt/media/Deutsche Filme"; - } - - { - wantedBy = [ "multi-user.target" ]; - where = "/mnt/media/YTDL"; - } - ]; }; }