diff --git a/config/hosts/audio/shairport-sync.nix b/config/hosts/audio/shairport-sync.nix index 9bbbddc..d19a7cf 100644 --- a/config/hosts/audio/shairport-sync.nix +++ b/config/hosts/audio/shairport-sync.nix @@ -19,6 +19,12 @@ target = "shairport-sync.conf"; }; + systemd.services.shairport-sync = { + serviceConfig = { + Restart = "on-failure"; + }; + }; + users.users.nqptp = { isSystemUser = true; group = "nqptp";