diff --git a/nix/modules/spindle.nix b/nix/modules/spindle.nix index d665752c..9de40bab 100644 --- a/nix/modules/spindle.nix +++ b/nix/modules/spindle.nix @@ -335,6 +335,7 @@ in LogsDirectory = "spindle"; StateDirectory = "spindle"; Delegate = cfg.pipelines.microvm.cgroup.enable; + DelegateSubgroup = lib.optionalString cfg.pipelines.microvm.cgroup.enable "supervisor"; EnvironmentFile = mkIf (cfg.environmentFile != null) cfg.environmentFile; Environment = [