diff options
author | K900 <me@0upti.me> | 2022-08-12 08:44:17 +0300 |
---|---|---|
committer | Cole Helbling <cole.e.helbling@outlook.com> | 2022-12-08 13:50:04 -0800 |
commit | e69c37eae9b4b8fee2dc0397bec57163a732ea10 (patch) | |
tree | 0aa62455f50f12ccc4b2705d0ae6bcd8a050ecbe /nixos/modules/system | |
parent | e9c85d6d0f5d76f82d99bfc90f672afefdadc358 (diff) |
nixos/activation: don't generate bootspec for containers
Diffstat (limited to 'nixos/modules/system')
-rw-r--r-- | nixos/modules/system/activation/top-level.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/nixos/modules/system/activation/top-level.nix b/nixos/modules/system/activation/top-level.nix index 9237c1c2f6e51..9733bc55ae1bb 100644 --- a/nixos/modules/system/activation/top-level.nix +++ b/nixos/modules/system/activation/top-level.nix @@ -87,7 +87,9 @@ let echo -n "${toString config.system.extraDependencies}" > $out/extra-dependencies - ${bootSpec.writer} + ${optionalString (!config.boot.isContainer) '' + ${bootSpec.writer} + ''} ${config.system.extraSystemBuilderCmds} ''; |