From 7e920c9aedbcfef92e1bfeb9a281394ca1191dac Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Fri, 1 Nov 2024 19:20:53 +0530 Subject: [PATCH] all: cleanup required mounts --- hosts/layne/services/apps/bazarr.nix | 2 +- hosts/layne/services/apps/prowlarr.nix | 2 +- hosts/layne/services/apps/readarr.nix | 2 +- hosts/layne/services/apps/sonarr.nix | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/hosts/layne/services/apps/bazarr.nix b/hosts/layne/services/apps/bazarr.nix index 0c9f434..d42673b 100644 --- a/hosts/layne/services/apps/bazarr.nix +++ b/hosts/layne/services/apps/bazarr.nix @@ -22,7 +22,7 @@ in description = "Bazarr"; after = [ "network.target" ]; wantedBy = [ "multi-user.target" ]; - + unitConfig.RequiresMountsFor = [ "/mnt/data" ]; serviceConfig = { Type = "simple"; User = user; diff --git a/hosts/layne/services/apps/prowlarr.nix b/hosts/layne/services/apps/prowlarr.nix index edbd081..9dbad57 100644 --- a/hosts/layne/services/apps/prowlarr.nix +++ b/hosts/layne/services/apps/prowlarr.nix @@ -21,7 +21,7 @@ in description = "Prowlarr"; after = [ "network.target" ]; wantedBy = [ "multi-user.target" ]; - + unitConfig.RequiresMountsFor = [ "/mnt/data" ]; serviceConfig = { Type = "simple"; User = user; diff --git a/hosts/layne/services/apps/readarr.nix b/hosts/layne/services/apps/readarr.nix index ecebc6a..046319d 100644 --- a/hosts/layne/services/apps/readarr.nix +++ b/hosts/layne/services/apps/readarr.nix @@ -17,5 +17,5 @@ in group = "mediaserver"; }; }; - systemd.services.radarr.unitConfig.RequiresMountsFor = [ "/mnt/data" ]; + systemd.services.readarr.unitConfig.RequiresMountsFor = [ "/mnt/data" ]; } diff --git a/hosts/layne/services/apps/sonarr.nix b/hosts/layne/services/apps/sonarr.nix index 64b0d0b..083f0b0 100644 --- a/hosts/layne/services/apps/sonarr.nix +++ b/hosts/layne/services/apps/sonarr.nix @@ -17,5 +17,5 @@ in group = "mediaserver"; }; }; - systemd.services.radarr.unitConfig.RequiresMountsFor = [ "/mnt/data" ]; + systemd.services.sanarr.unitConfig.RequiresMountsFor = [ "/mnt/data" ]; }