From 4e7b982b1a4224545c6c35c8a9966dd04694efe3 Mon Sep 17 00:00:00 2001 From: Jordan Dominion Date: Fri, 7 Feb 2025 19:07:55 -0500 Subject: [PATCH] Test adding manual wants to nix Closes #2104 --- build/package/nix/tgstation-server.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/build/package/nix/tgstation-server.nix b/build/package/nix/tgstation-server.nix index 54978adb3f..1618f11750 100644 --- a/build/package/nix/tgstation-server.nix +++ b/build/package/nix/tgstation-server.nix @@ -1,6 +1,7 @@ inputs@{ config, lib, + systemdUtils, nixpkgs, pkgs, writeShellScriptBin, @@ -99,6 +100,14 @@ in Environment file as defined in {manpage}`systemd.exec(5)` ''; }; + + wants = lib.mkOption { + type = lib.types.listOf systemdUtils.lib.unitNameType; + default = []; + description = '' + Start the specified units when this unit is started. + ''; + } }; };