From bfa19339391ccb59972b8874b13644253a145c66 Mon Sep 17 00:00:00 2001 From: GDBlaster <65135527+GDBlaster@users.noreply.github.com> Date: Thu, 7 Aug 2025 10:36:05 +0200 Subject: [PATCH] nh: Delay run on boot so clean service doesnt make the boot process wait for it Fix formatting Co-authored-by: Acid Bong changed target to multi-user --- nixos/modules/programs/nh.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/programs/nh.nix b/nixos/modules/programs/nh.nix index fd9229bd71d1..f50e7a9dcea9 100644 --- a/nixos/modules/programs/nh.nix +++ b/nixos/modules/programs/nh.nix @@ -99,6 +99,7 @@ in script = "exec ${lib.getExe cfg.package} clean all ${cfg.clean.extraArgs}"; startAt = cfg.clean.dates; path = [ config.nix.package ]; + after = [ "multi-user.target" ]; serviceConfig.Type = "oneshot"; };