aboutsummaryrefslogtreecommitdiffstats
path: root/hosts/arrakis
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--hosts/arrakis/services.nix34
1 files changed, 34 insertions, 0 deletions
diff --git a/hosts/arrakis/services.nix b/hosts/arrakis/services.nix
index fd25c63..22360b6 100644
--- a/hosts/arrakis/services.nix
+++ b/hosts/arrakis/services.nix
@@ -5,6 +5,40 @@
directory = *
'';
+ nixpkgs.overlays = [ (final: prev: {
+
+ lidarr = prev.lidarr.overrideAttrs (old: {
+ postInstall = (old.postInstall or "") + ''
+ ${pkgs.systemd}/bin/systemctl restart lidarr.service
+ '';
+ } );
+
+ prowlarr = prev.prowlarr.overrideAttrs (old: {
+ postInstall = (old.postInstall or "") + ''
+ ${pkgs.systemd}/bin/systemctl restart prowlarr.service
+ '';
+ } );
+
+ radarr = prev.radarr.overrideAttrs (old: {
+ postInstall = (old.postInstall or "") + ''
+ ${pkgs.systemd}/bin/systemctl restart radarr.service
+ '';
+ } );
+
+ readarr = prev.readarr.overrideAttrs (old: {
+ postInstall = (old.postInstall or "") + ''
+ ${pkgs.systemd}/bin/systemctl restart readarr.service
+ '';
+ } );
+
+ sonarr = prev.sonarr.overrideAttrs (old: {
+ postInstall = (old.postInstall or "") + ''
+ ${pkgs.systemd}/bin/systemctl restart sonarr.service
+ '';
+ } );
+
+ } ) ];
+
security.acme = {
acceptTerms = true;
certs."arrakis.bitgnome.net".postRun = ''