From fd032b72cb3ae7003d20059fe1d5b3a3932a511d Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Tue, 30 Sep 2025 17:47:49 +0000 Subject: [PATCH] Stop waiting for completion on export on nixos-rebuild I'm hoping this won't mess with the timer logic. For now, it drives me nuts I'm waiting for timeout or completion of the export process, which is slow. --- modules/system/fieldseeker-sync.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/system/fieldseeker-sync.nix b/modules/system/fieldseeker-sync.nix index c8e7a27..6540ef0 100644 --- a/modules/system/fieldseeker-sync.nix +++ b/modules/system/fieldseeker-sync.nix @@ -106,7 +106,7 @@ in { stopIfChanged = false; serviceConfig = { EnvironmentFile="/var/run/secrets/fieldseeker-sync-env"; - Type = "oneshot"; + Type = "simple"; User = "fieldseeker-sync"; Group = "fieldseeker-sync"; ExecStart = "${src}/bin/audio-post-processor"; @@ -125,7 +125,7 @@ in { stopIfChanged = false; serviceConfig = { EnvironmentFile="/var/run/secrets/fieldseeker-sync-gleipnir-env"; - Type = "oneshot"; + Type = "simple"; User = "fieldseeker-sync"; Group = "fieldseeker-sync"; ExecStart = "${src}/bin/audio-post-processor"; @@ -148,7 +148,7 @@ in { Group = "fieldseeker-sync"; PrivateTmp = true; TimeoutStopSec = "5s"; - Type = "oneshot"; + Type = "simple"; User = "fieldseeker-sync"; WorkingDirectory = "/tmp"; }; @@ -167,7 +167,7 @@ in { Group = "fieldseeker-sync"; PrivateTmp = true; TimeoutStopSec = "5s"; - Type = "oneshot"; + Type = "simple"; User = "fieldseeker-sync"; WorkingDirectory = "/tmp"; };