use new NAS for media storage
This commit is contained in:
parent
a058d9ecb0
commit
76758fb24a
6 changed files with 123 additions and 116 deletions
|
|
@ -15,7 +15,8 @@ in
|
|||
config = {
|
||||
nixarr = {
|
||||
enable = true;
|
||||
mediaDir = "/drives/wd10/nixarr/media";
|
||||
# mediaDir = "/drives/wd10/nixarr/media";
|
||||
mediaDir = "/nfs/h002/nixarr/media";
|
||||
stateDir = "/var/lib/nixarr/state";
|
||||
|
||||
vpn = lib.mkIf (hasSecret "us_chi_wg") {
|
||||
|
|
@ -53,7 +54,7 @@ in
|
|||
# recyclarr.enable = true; # not sure how to use this yet
|
||||
};
|
||||
|
||||
services.nginx = {
|
||||
services.nginx = lib.mkIf config.nixarr.enable {
|
||||
virtualHosts = {
|
||||
"jellyfin.joshuabell.xyz" = {
|
||||
addSSL = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue