From 835e38cf1ab166ff729b5a66932eac34cb9f3c9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kier=C3=A1n=20Meinhardt?= Date: Mon, 5 Jan 2026 08:25:29 +0100 Subject: [PATCH] nixos/nspawn-container: clarify format of virtualisation.systemd-nspawn option tree --- nixos/modules/virtualisation/nspawn-container/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nixos/modules/virtualisation/nspawn-container/default.nix b/nixos/modules/virtualisation/nspawn-container/default.nix index a16351856c40..a04120d277dd 100644 --- a/nixos/modules/virtualisation/nspawn-container/default.nix +++ b/nixos/modules/virtualisation/nspawn-container/default.nix @@ -146,7 +146,9 @@ in }; virtualisation.systemd-nspawn = { + package = lib.mkPackageOption pkgs "systemd" { }; + options = lib.mkOption { type = types.listOf types.str; default = [ ]; @@ -156,6 +158,7 @@ in See [systemd-nspawn docs](https://www.freedesktop.org/software/systemd/man/latest/systemd-nspawn.html) for a complete list. ''; }; + }; };